-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.js
38 lines (37 loc) · 1009 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
36
37
38
module.exports = {
env: {
browser: true,
jest: true,
},
extends: ['airbnb-base', 'plugin:prettier/recommended'],
plugins: ['prettier'],
rules: {
'no-underscore-dangle': 0,
'spaced-comment': ['warn', 'always', { markers: ['/'] }],
curly: ['error', 'all'],
'no-unused-vars': [1, { args: 'none', ignoreRestSiblings: true }],
'prefer-destructuring': 0,
'no-console': ['warn', { allow: ['warn', 'error', 'info', 'dir'] }],
'no-param-reassign': 0,
'no-void': 0,
'consistent-return': 0,
'no-shadow': 0,
'no-continue': 0,
'no-await-in-loop': 0,
'no-new': 0,
'no-plusplus': 0,
camelcase: 0,
'arrow-body-style': 0,
'import/order': 0,
'import/no-relative-packages': 0,
'no-bitwise': 0,
'no-restricted-syntax': 0,
'import/prefer-default-export': 0,
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/*.test.ts', '**/*.fixture.tsx', './scripts/**'],
},
],
},
};