-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.eslintrc.js
42 lines (42 loc) · 1.37 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
37
38
39
40
41
42
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
},
extends: ['airbnb', 'airbnb-typescript', 'prettier'],
ignorePatterns: ['project/*', 'misc/*', 'dist/*', 'burdy/*'],
plugins: ['@typescript-eslint'],
rules: {
eqeqeq: ['off'],
'max-len': ['error', { code: 120 }],
'arrow-body-style': ['off'],
'no-param-reassign': ['off'],
'no-bitwise': ['warn'],
'react/jsx-props-no-spreading': ['off'],
'import/prefer-default-export': ['warn'],
'prefer-destructuring': ['off'],
'global-require': ['off'],
'react/prop-types': ['off'],
'import/no-dynamic-require': ['off'],
'max-classes-per-file': ['off'],
'no-plusplus': ['off'],
'import/no-cycle': ['off'],
'@typescript-eslint/lines-between-class-members': ['off'],
'@typescript-eslint/no-shadow': ['off'],
'@typescript-eslint/no-use-before-define': ['off'],
'jsx-a11y/label-has-associated-control': ['off'],
'jsx-a11y/click-events-have-key-events': ['off'],
'jsx-a11y/no-static-element-interactions': ['off'],
'react/no-unescaped-entities': ['off'],
'react/destructuring-assignment': ['off'],
'import/order': [
'error',
{
groups: [
['index', 'sibling', 'parent', 'internal', 'external', 'builtin'],
],
'newlines-between': 'never',
},
],
},
};