-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
24 lines (23 loc) · 752 Bytes
/
Copy path.eslintrc.js
File metadata and controls
24 lines (23 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'jest', 'prettier'],
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'prettier/@typescript-eslint'],
rules: {
'max-len': ['error', { code: 124 }],
'import/named': 'off',
'import/export': 'off',
'import/prefer-default-export': 'off',
'no-unused-expressions': [
'warn',
{
allowShortCircuit: true,
allowTernary: true
}
],
'@typescript-eslint/prefer-interface': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-ignore': 'off'
}
}