-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
39 lines (38 loc) · 910 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
39
'use strict';
module.exports = {
extends: 'airbnb-base',
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 2019,
},
env: {
browser: true,
},
overrides: [
{
files: ['*.js', '.*.js'],
parserOptions: { sourceType: 'script' },
},
],
globals: {
BigInt: false,
Atomics: false,
SharedArrayBuffer: false,
WeakRef: false,
},
rules: {
'quote-props': ['error', 'consistent'],
'strict': ['error', 'global'],
'prefer-destructuring': 'off',
'no-multiple-empty-lines': ['error', { maxBOF: 0, max: 2 }],
'arrow-parens': ['error', 'always'],
'lines-between-class-members': 'off',
'max-classes-per-file': 'off',
'no-restricted-syntax': 'off',
'import/no-cycle': 'off',
'import/extensions': 'off',
'import/prefer-default-export': 'off',
'import/no-mutable-exports': 'off',
'global-require': 'off',
},
};