-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.eslintrc.js
More file actions
37 lines (37 loc) · 796 Bytes
/
.eslintrc.js
File metadata and controls
37 lines (37 loc) · 796 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
35
36
37
/*eslint-env node*/
module.exports = {
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true
},
"globals": {
"require": "readonly",
"__dirname": "readonly",
"module": "writable"
},
'rules': {
'camelcase': 2,
'comma-dangle': [2, 'never'],
'comma-style': [2, 'last'],
'eqeqeq': 2,
'indent': [2, 2, { 'VariableDeclarator': 2 }],
'no-eq-null': 2,
'no-extra-parens': 2,
'no-extra-semi': 2,
'no-lonely-if': 2,
'no-multi-spaces': 0,
'no-nested-ternary': 2,
'no-param-reassign': 2,
'no-self-compare': 2,
'no-shadow': 2,
'no-throw-literal': 2,
'no-undef': 2,
'no-underscore-dangle': 0,
'no-void': 2,
'quotes': [2, 'single'],
'semi': [2, 'always']
}
};