forked from Redamancys/Doisnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (35 loc) · 885 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
module.exports = {
parser: '@typescript-eslint/parser',
env: {
browser: true,
node: true,
},
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
plugins: ['react'],
rules: {
'react/prefer-stateless-function': 0,
'react/jsx-filename-extension': 0,
'react/jsx-no-target-blank': 0,
'react/self-closing-comp': 0,
'react/jsx-closing-tag-location': 0,
'jsx-quotes': [1, 'prefer-single'],
'linebreak-style': 0,
camelcase: 0,
'func-names': 0,
'object-shorthand': 0,
'comma-dangle': [1, 'only-multiline'],
'operator-linebreak': 0,
'arrow-body-style': 0,
'jsx-a11y/anchor-is-valid': 1,
'import/no-unresolved': 0,
'max-len': 0,
'implicit-arrow-linebreak': 0,
'arrow-parens': 0,
'no-param-reassign': 0,
'no-restricted-syntax': 0,
'jsx-a11y/anchor-is-valid': 0,
},
};