|
| 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 | + }, |
| 40 | +"ignorePatterns": [ |
| 41 | +"out", |
| 42 | +"dist", |
| 43 | +"**/*.d.ts" |
| 44 | + ] |
| 45 | +} |