1 | {
|
2 | "rules": {
|
3 | "indent": [
|
4 | 2,
|
5 | 2
|
6 | ],
|
7 | "quotes": [
|
8 | 2,
|
9 | "single",
|
10 | { "allowTemplateLiterals": true }
|
11 | ],
|
12 | "linebreak-style": [
|
13 | 2,
|
14 | "unix"
|
15 | ],
|
16 | "semi": [2, "always"],
|
17 | "strict": [2, "global"],
|
18 | "curly": 2,
|
19 | "eqeqeq": 2,
|
20 | "no-eval": 2,
|
21 | "guard-for-in": 2,
|
22 | "no-caller": 2,
|
23 | "no-else-return": 2,
|
24 | "no-eq-null": 2,
|
25 | "no-extend-native": 2,
|
26 | "no-extra-bind": 2,
|
27 | "no-floating-decimal": 2,
|
28 | "no-implied-eval": 2,
|
29 | "no-labels": 2,
|
30 | "no-with": 2,
|
31 | "no-loop-func": 1,
|
32 | "no-native-reassign": 2,
|
33 | "no-redeclare": [2, {"builtinGlobals": true}],
|
34 | "no-delete-var": 2,
|
35 | "no-shadow-restricted-names": 2,
|
36 | "no-undef-init": 2,
|
37 | "no-use-before-define": 0,
|
38 | "no-unused-vars": [2, {"args": "none"}],
|
39 | "no-undef": 2,
|
40 | "callback-return": [2, ["callback", "cb", "next"]],
|
41 | "global-require": 0,
|
42 | "no-console": 0,
|
43 | "require-yield": 0,
|
44 | "no-multi-spaces": 2,
|
45 | "block-spacing": 2,
|
46 | "keyword-spacing": 2,
|
47 | "space-before-blocks": 2,
|
48 | "comma-spacing": 2,
|
49 | "key-spacing": 2,
|
50 | "comma-dangle": 2,
|
51 | "space-infix-ops": 2
|
52 | },
|
53 | "env": {
|
54 | "es6": true,
|
55 | "node": true,
|
56 | "browser": true
|
57 | },
|
58 | "globals": {
|
59 | "describe": true,
|
60 | "it": true,
|
61 | "before": true,
|
62 | "after": true,
|
63 | "beforeEach": true,
|
64 | "afterEach": true
|
65 | },
|
66 | "parserOptions": {
|
67 | "ecmaVersion": 8,
|
68 | "sourceType": "script",
|
69 | "ecmaFeatures": {
|
70 | "jsx": true
|
71 | }
|
72 | },
|
73 | "extends": "eslint:recommended"
|
74 | }
|