|
|
|
@ -7,18 +7,8 @@
|
|
|
|
|
"env": { |
|
|
|
|
"es6": true |
|
|
|
|
}, |
|
|
|
|
"ignorePatterns": [ |
|
|
|
|
"node_modules", |
|
|
|
|
"build", |
|
|
|
|
"coverage", |
|
|
|
|
"dist", |
|
|
|
|
"nc" |
|
|
|
|
], |
|
|
|
|
"plugins": [ |
|
|
|
|
"import", |
|
|
|
|
"eslint-comments", |
|
|
|
|
"functional" |
|
|
|
|
], |
|
|
|
|
"ignorePatterns": ["node_modules", "build", "coverage", "dist", "nc"], |
|
|
|
|
"plugins": ["import", "eslint-comments", "functional"], |
|
|
|
|
"extends": [ |
|
|
|
|
"eslint:recommended", |
|
|
|
|
"plugin:eslint-comments/recommended", |
|
|
|
@ -47,6 +37,21 @@
|
|
|
|
|
"ignoreCase": true |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"import/order": [ |
|
|
|
|
"error", |
|
|
|
|
{ |
|
|
|
|
"groups": [ |
|
|
|
|
"builtin", |
|
|
|
|
"external", |
|
|
|
|
"internal", |
|
|
|
|
"parent", |
|
|
|
|
"sibling", |
|
|
|
|
"index", |
|
|
|
|
"object", |
|
|
|
|
"type" |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"@typescript-eslint/no-this-alias": "off", |
|
|
|
|
|
|
|
|
|
// todo: enable |
|
|
|
@ -57,7 +62,6 @@
|
|
|
|
|
"no-useless-catch": "off", |
|
|
|
|
"no-empty": "off", |
|
|
|
|
"@typescript-eslint/no-empty-function": "off", |
|
|
|
|
"import/order": "off", |
|
|
|
|
"@typescript-eslint/consistent-type-imports": "warn" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|