forked from limplash/string-cipher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
36 lines (36 loc) · 831 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
28
29
30
31
32
33
34
35
36
module.exports = {
extends: ['airbnb-base'],
rules: {
'comma-dangle': ['error', 'never'],
'import/prefer-default-export': 0,
'max-len': 0,
'import/extensions': 0
},
overrides: [
{
files: ['**/*.ts'],
extends: ['plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts']
},
'import/resolver': {
typescript: {}
}
},
rules: {
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-function-return-type': 0,
}
},
{
files: ['**/*.test.ts'],
extends: ['plugin:jest/recommended'],
env: {
jest: true
}
}
]
};