forked from rsmbl/Resemble.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.28 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
35
36
37
38
39
40
41
42
43
44
45
46
{
"extends": [
"eslint-config-es5",
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": "4",
"printWidth": "160"
}
],
"no-console": "off",
"no-use-before-define": ["error", { "functions": false }],
"func-names": ["off"],
"complexity": ["error", 16],
"curly": ["error", "all"],
"dot-location": ["error", "property"],
"dot-notation": ["error", { "allowKeywords": false }],
"eqeqeq": ["error", "always"],
"guard-for-in": "error",
"no-alert": "error",
"no-script-url": "error",
"no-proto": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-invalid-this": "error",
"no-implied-eval": "error",
"no-implicit-globals": "error",
"no-shadow": "error",
"global-require": "error",
"comma-dangle": ["error", "never"],
"camelcase": ["error",{"properties": "always"}]
},
"env": {
"amd": true,
"es6": true
}
}