forked from andrglo/mssql-cr-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
42 lines (42 loc) · 808 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
42
module.exports = {
extends: 'google',
parserOptions: {
ecmaVersion: 2018
},
env: {
node: true,
es6: true,
mocha: true
},
rules: {
'generator-star-spacing': [
'error',
{
before: true,
after: false
}
],
'comma-dangle': 0,
semi: ['error', 'never'],
'require-jsdoc': 0,
'valid-jsdoc': 0,
'new-cap': 0,
'quote-props': 0,
'no-extra-parens': 0,
'arrow-parens': ['error', 'as-needed'],
'yield-star-spacing': ['error', {before: true, after: false}],
'max-len': [
'error',
{
ignoreComments: true,
ignoreStrings: true,
ignoreTemplateLiterals: true
}
],
'no-var': 0,
camelcase: 0,
'no-invalid-this': 0,
'no-undef': 2,
'no-unreachable': 2
}
}