forked from Ricochet-Exchange/ricochet-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
34 lines (34 loc) · 1004 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
module.exports = {
extends: ['airbnb-typescript'],
parserOptions: {
project: './tsconfig.json',
},
ignorePatterns: '*.js',
rules: {
// '@typescript-eslint/no-explicit-any': 2,
'react/jsx-props-no-spreading': 0,
'func-call-spacing': 2, // instead of no-spaced-func
'import/extensions': 0,
'react/prop-types': 0,
'react/require-default-props': 0,
'no-spaced-func': 0, // deprecated
'import/prefer-default-export': 0,
'import/no-named-as-default-member': 0,
'import/no-named-as-default': 0,
'import/no-extraneous-dependencies': 0,
'import/no-cycle': 0,
'no-underscore-dangle': 0,
'jsx-a11y/label-has-associated-control': [2, {
"depth": 1,
}],
'consistent-return': 0,
'no-trailing-spaces': 0,
'operator-linebreak': 0,
'implicit-arrow-linebreak': 0,
//'linebreak-style': ["error", "windows"],
'react/button-has-type': 0,
'no-console': 0,
'no-debugger': 0,
// "no-nested-ternary": "off"
}
};