-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
29 lines (29 loc) · 932 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
module.exports = {
'rules': {
'brace-style': [2, '1tbs'],
'camelcase': 1,
'comma-dangle': [2, 'never'],
'comma-spacing': [2, { 'before': false, 'after': true }],
'comma-style': [2, 'last'],
'consistent-return': 2,
'eqeqeq': 2,
'indent': [2, 4],
'linebreak-style': [2, 'unix'],
'no-else-return': 2,
'no-redeclare': 0,
'no-underscore-dangle': 0,
'no-unused-vars': 0,
'object-curly-spacing': [2, 'always'],
'quotes': [2, 'single'],
'semi': [2, 'always'],
'semi-spacing': [2, { 'before': false, 'after': true }],
'space-before-blocks': [2, 'always'],
'space-before-function-paren': [2, { 'anonymous': 'always', 'named': 'never' }],
'space-in-parens': [2, 'never'],
'strict': 0
},
'env': {
'node': true
},
'extends': 'eslint:recommended'
};