OSDN Git Service

BugTrack/2436 ESLint - Linting utility for JavaScript
[pukiwiki/pukiwiki.git] / .eslintrc.json
1 {
2     "extends": ["airbnb"],
3     "plugins": [],
4     "parserOptions": {
5         "sourceType": "script"
6     },
7     "env": {"browser": true},
8     "globals": {},
9     "rules": {
10         "no-console": 0,
11         "no-inner-declarations": "warn",
12         "no-var": 0,
13         "vars-on-top": 0,
14         "prefer-template": 0,
15         "prefer-arrow-callback": 0,
16         "space-before-function-paren": 0,
17         "no-plusplus": 0,
18         "prefer-destructuring": 0,
19         "no-continue": 0,
20         "func-names": 0,
21         "function-paren-newline": 0,
22         "comma-dangle": 0,
23         "object-shorthand": 0,
24         "object-curly-spacing": 0,
25         "operator-assignment": 0,
26         "no-multi-assign": 0,
27         "no-param-reassign": ["warn", { "props": false }],
28         "strict": ["error", "function"],
29         "lines-around-directive": 0,
30         "no-cond-assign": ["error", "except-parens"]
31     }
32 }
33