-
Notifications
You must be signed in to change notification settings - Fork 184
/
.eslintrc.js
executable file
·42 lines (42 loc) · 1.02 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 = {
extends: ['@heibanfe/eslint-config-react'],
env: {
browser: true,
commonjs: true,
node: true,
es6: true,
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
settings: {
react: {
version: 'detect',
},
},
rules: {
'no-console': 'off',
'max-params': 'off',
semi: ['error', 'never'],
'prettier/prettier': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-console': 'off',
strict: ['error', 'global'],
curly: 'warn',
semi: ['error', 'never'],
'prettier/prettier': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
camelcase: 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'off',
},
}