-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
27 lines (25 loc) · 948 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
parser: '@typescript-eslint/parser',
extends: ["@danieldanielsson/eslint-config/typescript"],
plugins: ['example'],
rules: {
'example/foo-bar-rule': 'error',
// 'example/sort-interface': ['error', "desc"],
'example/sort-interface': 'error',
'example/sort-type': 'error',
'example/sort-enum': 'error',
'example/sort-arrowfunc-object-params': 'error',
'prefer-arrow-callback': 'error',
"func-style": ["error", "expression", { "allowArrowFunctions": true }],
// Rules from extension
'eslint-plugin-react': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'import/no-cycle': 'off',
}
};