/ .eslintrc.json
.eslintrc.json
 1  {
 2    "extends": [
 3      "./script/node_modules/eslint-config-standard/eslintrc.json",
 4      "./script/node_modules/eslint-config-prettier/index.js",
 5      "./script/node_modules/eslint-config-prettier/standard.js"
 6    ],
 7    "plugins": [
 8      "prettier"
 9    ],
10    "env": {
11      "browser": true,
12      "node": true
13    },
14    "parser": "babel-eslint",
15    "parserOptions": {
16      "ecmaVersion": 8,
17      "ecmaFeatures": {
18        "jsx": true
19      }
20    },
21    "globals": {
22      "atom": true,
23      "snapshotResult": true
24    },
25    "rules": {
26      "standard/no-callback-literal": ["off"],
27      "node/no-deprecated-api": ["off"],
28      "prettier/prettier": ["error"]
29    },
30    "overrides": [
31      {
32        "files": ["spec/**", "**-spec.js", "**.test.js"],
33        "env": {
34          "jasmine": true
35        },
36        "globals": {
37          "advanceClock": true,
38          "fakeClearInterval": true,
39          "fakeSetInterval": true,
40          "waitsForPromise": true
41        }
42      }
43    ]
44  }