forked from DanteInc/aws-kms-ee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
42 lines (42 loc) · 1.1 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
40
41
42
module.exports = {
"parser": "babel-eslint",
"extends": "airbnb-base",
"plugins": [],
"env": {
"node": true,
"mocha": true,
"commonjs": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
},
"rules": {
"no-unused-expressions": 0,
"linebreak-style": 0,
"max-len": [1, 140, 2, { ignoreComments: true, ignoreStrings: true }],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"space-infix-ops": 0,
"no-unused-vars": [1, { "vars": "local", "args": "none" }],
"default-case": 0,
"no-else-return": 0,
"no-param-reassign": 0,
"comma-dangle": 1,
"indent": 1,
"object-curly-spacing": 1,
"arrow-body-style": 1,
"no-console": 0,
"prefer-template": 1,
"import/no-unresolved": 1,
"import/no-extraneous-dependencies": [2, { "devDependencies": ["**/test/**/*.js"] }],
"global-require": 1,
"no-underscore-dangle": 0,
"new-cap": 0,
"no-use-before-define": 0,
"no-useless-escape": 0,
"class-methods-use-this": 0,
"global-require": 0,
},
"globals": {}
};