-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.cjs
30 lines (30 loc) · 1.14 KB
/
.eslintrc.cjs
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
28
29
30
module.exports = {
extends: ['supernova'],
root: true,
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json']
},
rules: {
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-restricted-syntax': 'off',
'fp/no-mutation': 'off',
'no-param-reassign': ['error', { props: false }],
'@typescript-eslint/restrict-template-expressions': 'off',
'no-nested-ternary': 'off',
'no-prototype-builtins': 'off',
'prefer-destructuring': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'no-await-in-loop': 'off',
'no-continue': 'off',
'@typescript-eslint/no-useless-constructor': 'off', // Rule that removes clarity in inherited classes, don't remove this
'no-console': 'off' // Don't remove this as it is used for specific helpers
}
}