-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.eslintrc.js
36 lines (36 loc) · 1.1 KB
/
.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
28
29
30
31
32
33
34
35
36
module.exports = {
root: true,
extends: ['@heise'],
plugins: ['sort-keys-fix', 'eslint-plugin-no-only-tests'],
rules: {
'sort-keys-fix/sort-keys-fix': 'error',
'no-prototype-builtins': 'off',
'no-unused-vars': 'off',
'security/detect-non-literal-fs-filename': 'off',
'unicorn/import-style': 'off',
'unicorn/no-null': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/prefer-module': 'off',
},
env: {
node: true,
es6: true,
},
overrides: [
{
files: ['*.test.ts', '*.js', '__tests__/**/*.ts'],
rules: {
'toplevel/no-toplevel-side-effect': 'off',
'no-magic-numbers': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/unbound-method': 'off',
},
},
],
}