-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
94 lines (94 loc) · 2.01 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
module.exports = {
"env": {
"mocha": true,
"node": true,
"es6": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"plugins": [
"lodash",
"@typescript-eslint",
"prettier"
],
"extends": [
"eslint:recommended",
"walmart/configurations/es6-node.js",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": [
"error",
{
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "always",
"bracketSpacing": false,
"jsxBracketSameLine": false,
"printWith": 180,
"eol": "lf"
}
],
"filenames/match-regex": 0,
"newline-per-chained-call": [2, { "ignoreChainWithDepth": 5 }],
"array-bracket-newline": 0,
"array-bracket-spacing": 2,
"array-element-newline": 0,
"max-nested-callbacks": 0,
"max-depth": 0,
"generator-star-spacing": 0,
"no-console": 0,
"no-unused-vars": 0,
"filenames/filenames": 0,
"no-use-before-define": 0,
"no-magic-numbers": 0,
"max-len": 0,
"camelcase": 0,
"consistent-return": 0,
"complexity": 0,
"max-statements": 0,
"max-params": 0,
"no-unused-expressions": 0,
"no-bitwise": 0,
"no-script-url": 0,
"new-cap": 0,
"no-multi-str": 0,
"space-before-function-paren": 0,
"jquery/no-ajax": 0,
"no-extra-parens": 0,
"func-style": 0,
"no-invalid-this": 0,
"no-return-assign": 0,
"arrow-parens": 0,
"no-confusing-arrow": 0,
"no-case-declarations": 0,
"no-nested-ternary": 0,
"no-labels": 0,
"global-require": 0,
"no-lonely-if": 0,
"no-loop-func": 0,
"no-shadow": 0,
"one-var": 0,
"valid-jsdoc": [
0,
{
"requireParamDescription": false,
"requireReturnDescription": false
}
],
"indent": [
0,
2,
{
"SwitchCase": 1
}
],
"quotes": ["error", "single"]
}
};