-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
41 lines (41 loc) · 967 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
40
41
module.exports = {
'env': {
'es6': true,
'node': true,
},
'extends': 'airbnb-base',
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly',
},
'parserOptions': {
'ecmaVersion': 2018,
'sourceType': 'module',
},
'rules': {
'arrow-parens': ['error', 'as-needed'],
'camelcase': 0,
'class-methods-use-this': 0,
'consistent-return': 0,
'curly': [2, "multi-or-nest"],
'func-names': 0,
'global-require': 0,
'guard-for-in': 0,
'max-classes-per-file': 0,
'max-len': 0,
'no-async-promise-executor': 0,
'no-console': 0,
'no-continue': 0,
'no-invalid-this': 0,
'nonblock-statement-body-position': ['error', 'below'],
'no-param-reassign': 0,
'no-plusplus': 0,
'no-restricted-syntax': 0,
'no-return-assign': 0,
'no-underscore-dangle': 0,
'no-use-before-define': 0,
'require-jsdoc': 0,
'semi': [1, "never"],
'valid-jsdoc': 0,
},
};