forked from Kunstmaan/KunstmaanBundlesCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·34 lines (34 loc) · 1.07 KB
/
.eslintrc
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
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": "airbnb-base",
"rules": {
"arrow-parens": ["error", "always"],
"comma-dangle": ["error", "never"],
"default-case": "off",
"indent": ["error", 4, { "SwitchCase": 1 }],
"max-len": ["error", 120, {"ignoreComments": true, "ignoreTemplateLiterals": true}],
"no-console": 0,
"no-new": "off",
"no-use-before-define": ["error", {"functions": false, "classes": true}],
"no-trailing-spaces": ["error", {"skipBlankLines": true}],
"linebreak-style": ["error", "unix"],
"object-curly-spacing": ["error", "never"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", "never"],
"no-param-reassign": ["error", { "props": false }],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["gulpfile.babel.js"]}]
},
"globals": {
"module": true
}
}