forked from ContaAzul/creditcard.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
55 lines (55 loc) · 1.2 KB
/
.eslintrc.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"ecmaFeatures": {
"modules": true
},
"parserOptions": {
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jasmine": true,
"es6": true
},
"globals": {
"require": true,
"creditcard": true,
"CREDIT_CARDS": true,
"INVALID_CREDIT_CARD": true,
"VALID_CREDIT_CARD": true,
"luhn": true,
"list": true
},
"rules": {
"camelcase": 2,
"comma-dangle": [2, "never"],
"comma-spacing": 2,
"comma-style": [2, "last"],
"eol-last": 2,
"eqeqeq": 2,
"indent": [2, 2],
"linebreak-style": [2, "unix"],
"max-nested-callbacks": [2, 3],
"no-dupe-keys": 2,
"no-eq-null": 2,
"no-extra-semi": 2,
"no-lonely-if": 2,
"no-multi-spaces": 0,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-nested-ternary": 2,
"no-param-reassign": 2,
"no-self-compare": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-void": 2,
"one-var": [2, "never"],
"quotes": [2, "single"],
"semi": [2, "always"],
"keyword-spacing": 2,
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"]
}
}