1 | module.exports = {
|
2 | env: {
|
3 | node: true,
|
4 | jest: true,
|
5 | },
|
6 | extends: [
|
7 | "standard",
|
8 | ],
|
9 | parserOptions: {
|
10 | ecmaVersion: 2018,
|
11 | },
|
12 | rules: {
|
13 | "quotes": ["error", "double"],
|
14 | "semi": ["error", "always"],
|
15 | "no-warning-comments": "warn",
|
16 | "comma-dangle": ["error", "always-multiline"],
|
17 | indent: ["error", "tab", { "SwitchCase": 1 }],
|
18 | "no-tabs": "off",
|
19 | "no-restricted-globals": [
|
20 | "error",
|
21 | {
|
22 | name: "fit",
|
23 | message: "Do not commit focused tests."
|
24 | },
|
25 | {
|
26 | name: "fdescribe",
|
27 | message: "Do not commit focused tests."
|
28 | },
|
29 | ],
|
30 | },
|
31 | }
|