-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.js
41 lines (40 loc) · 1.06 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
module.exports = {
'root': true,
'parser': '@typescript-eslint/parser',
'env': {
'browser': true,
'es6': true,
'node': true,
'jest': true,
'cypress/globals': true
},
'plugins': [
'@typescript-eslint',
'import',
'cypress'
],
'extends': [
'eslint:recommended',
'plugin:@typescript-eslint/recommended'
],
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaVersion': 2018,
'sourceType': 'module',
},
'rules': {
'no-console': 1,
'comma-dangle': 'off',
'react/jsx-filename-extension': 'off',
'import/prefer-default-export': 'off',
'import/no-default-export': 'warn',
'no-mixed-spaces-and-tabs': 0,
'indent': ['error', 4, { 'SwitchCase': 1 }],
'quotes': ['error', 'single'],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': [1, { 'argsIgnorePattern': '^_' }]
}
};