|
1 | 1 | {
|
2 |
| -"root":true, |
3 |
| -"parser":"@typescript-eslint/parser", |
4 |
| -"parserOptions": { |
5 |
| -"ecmaVersion":6, |
6 |
| -"sourceType":"module" |
7 |
| - }, |
8 |
| -"plugins": [ |
9 |
| -"@typescript-eslint", |
10 |
| -"prettier" |
11 |
| - ], |
12 |
| -"extends": [ |
13 |
| -"eslint:recommended", |
14 |
| -"plugin:@typescript-eslint/recommended", |
15 |
| -"plugin:import/recommended", |
16 |
| -"plugin:import/typescript", |
17 |
| -"plugin:md/prettier", |
18 |
| -"prettier" |
19 |
| - ], |
20 |
| -"overrides": [{ |
21 |
| -"files": ["*.md"], |
22 |
| -"parser":"markdown-eslint-parser" |
23 |
| - }], |
24 |
| -"rules": { |
25 |
| -"curly":"error", |
26 |
| -"eqeqeq":"error", |
27 |
| -"no-throw-literal":"error", |
28 |
| -"no-console":"error", |
29 |
| -"prettier/prettier":"error", |
30 |
| -"import/order": ["error", { |
31 |
| -"alphabetize": { |
32 |
| -"order":"asc" |
33 |
| - }, |
34 |
| -"groups": [["builtin","external","internal"],"parent","sibling"] |
35 |
| - }], |
36 |
| -"import/no-unresolved": ["error", { |
37 |
| -"ignore": ["vscode"] |
38 |
| - }], |
39 |
| -"@typescript-eslint/no-unused-vars": [ |
40 |
| -"error", |
41 |
| - { |
42 |
| -"varsIgnorePattern":"^_" |
43 |
| - } |
44 |
| - ], |
45 |
| -"md/remark": [ |
46 |
| -"error", |
47 |
| - { |
48 |
| -"no-duplicate-headings": { |
49 |
| -"sublings_only":true |
50 |
| - } |
51 |
| - } |
52 |
| - ] |
53 |
| - }, |
54 |
| -"ignorePatterns": [ |
55 |
| -"out", |
56 |
| -"dist", |
57 |
| -"**/*.d.ts" |
58 |
| - ] |
| 2 | +"root":true, |
| 3 | +"parser":"@typescript-eslint/parser", |
| 4 | +"parserOptions": { |
| 5 | +"ecmaVersion":6, |
| 6 | +"sourceType":"module" |
| 7 | +}, |
| 8 | +"plugins": ["@typescript-eslint","prettier"], |
| 9 | +"extends": [ |
| 10 | +"eslint:recommended", |
| 11 | +"plugin:@typescript-eslint/recommended", |
| 12 | +"plugin:import/recommended", |
| 13 | +"plugin:import/typescript", |
| 14 | +"plugin:md/prettier", |
| 15 | +"prettier" |
| 16 | +], |
| 17 | +"overrides": [ |
| 18 | +{ |
| 19 | +"files": ["*.md"], |
| 20 | +"parser":"markdown-eslint-parser" |
| 21 | +} |
| 22 | +], |
| 23 | +"rules": { |
| 24 | +"curly":"error", |
| 25 | +"eqeqeq":"error", |
| 26 | +"no-throw-literal":"error", |
| 27 | +"no-console":"error", |
| 28 | +"prettier/prettier":"error", |
| 29 | +"import/order": [ |
| 30 | +"error", |
| 31 | +{ |
| 32 | +"alphabetize": { |
| 33 | +"order":"asc" |
| 34 | +}, |
| 35 | +"groups": [["builtin","external","internal"],"parent","sibling"] |
| 36 | +} |
| 37 | +], |
| 38 | +"import/no-unresolved": [ |
| 39 | +"error", |
| 40 | +{ |
| 41 | +"ignore": ["vscode"] |
| 42 | +} |
| 43 | +], |
| 44 | +"@typescript-eslint/no-unused-vars": [ |
| 45 | +"error", |
| 46 | +{ |
| 47 | +"varsIgnorePattern":"^_" |
| 48 | +} |
| 49 | +], |
| 50 | +"md/remark": [ |
| 51 | +"error", |
| 52 | +{ |
| 53 | +"no-duplicate-headings": { |
| 54 | +"sublings_only":true |
| 55 | +} |
| 56 | +} |
| 57 | +] |
| 58 | +}, |
| 59 | +"ignorePatterns": ["out","dist","**/*.d.ts"] |
59 | 60 | }
|