forked from natergj/excel4node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (39 loc) · 1.22 KB
/
.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
module.exports = {
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
'rules': {
// TODO add a logger lib to the project
// 'no-console': 2
'brace-style': [2, '1tbs'],
'camelcase': 1,
'comma-dangle': [2, 'never'],
'comma-spacing': [2, { 'before': false, 'after': true }],
'comma-style': [2, 'last'],
'eqeqeq': 2,
'indent': [2, 4],
'key-spacing': [2, { 'beforeColon': false, 'afterColon': true }],
'keyword-spacing': 2,
'linebreak-style': [2, 'unix'],
'no-case-declarations': 0,
'no-console': 0,
'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'],
'space-infix-ops': 2,
'strict': 0
},
'env': {
'node': true,
'es6': true
},
'extends': 'eslint:recommended'
};