-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.js
33 lines (33 loc) · 907 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
module.exports = {
env: {
browser: true,
es2021: true,
jest: true,
},
extends: 'airbnb-base',
overrides: [
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'no-constant-condition': 'off',
'no-console': 'off',
'object-curly-newline': 'off',
'no-plusplus': 'off',
'no-promise-executor-return': 'off',
'func-style': 2,
'arrow-body-style': 'off',
'no-continue': 'off',
quotes: ['error', 'single', { allowTemplateLiterals: true, avoidEscape: true }],
'consistent-return': 'off',
'no-restricted-syntax': 'off',
'no-alert': 'off',
'no-unused-expressions': ['error', { allowTernary: true }],
'no-unused-vars': ['error', { argsIgnorePattern: '_', destructuredArrayIgnorePattern: '^_' }],
'no-confusing-arrow': 'off',
'max-classes-per-file': 'off',
'no-param-reassign': 'off',
},
};