UNPKG

788 BPlain TextView Raw
1{
2 "parser": "babel-eslint",
3 "extends": "eslint:recommended",
4 "parserOptions": {
5 "ecmaVersion": 6,
6 "sourceType": "module",
7 "ecmaFeatures": {},
8 },
9 "env": {
10 "node": true,
11 "browser": true
12 },
13 "rules": {
14 "no-console": 0,
15
16 "arrow-parens": [2, "always"],
17 "comma-dangle": [2, "always-multiline"],
18 "eqeqeq": 2,
19 "linebreak-style": [2, "unix"],
20 "prefer-arrow-callback": 2,
21 "semi": [2, "always"],
22 "strict": [2, "never"],
23 "yoda": [2, "never"],
24
25 "no-alert": 2,
26 "no-const-assign": 2,
27 "no-else-return": 2,
28 "no-this-before-super": 2,
29 "no-unexpected-multiline": 2,
30 "no-var": 2,
31 "no-warning-comments": 1
32 }
33}