-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.js
More file actions
34 lines (34 loc) · 849 Bytes
/
.eslintrc.js
File metadata and controls
34 lines (34 loc) · 849 Bytes
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
/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
reportUnusedDisableDirectives: true,
env: {
browser: true,
},
extends: ['airbnb-base', 'prettier'],
rules: {
'no-plusplus': 'off',
'no-param-reassign': 'off',
'prefer-destructuring': 'off',
'default-param-last': 'off',
'prefer-spread': 'off',
'no-continue': 'off',
'no-constructor-return': 'off',
'consistent-return': 'off',
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'no-use-before-define': 'off',
'no-shadow': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
},
overrides: [
{
files: ['./test/**/*'],
rules: {
'no-console': 'off',
'no-restricted-syntax': 'off',
},
},
],
};