UNPKG

1.67 kBPlain TextView Raw
1{
2 "parser": "babel-eslint",
3 "extends": [
4 "airbnb",
5 "plugin:jest/recommended"
6 ],
7 "parserOptions": {
8 "ecmaVersion": 6,
9 "sourceType": "module",
10 "ecmaFeatures": {
11 "arrowFunctions": true,
12 "blockBindings": true,
13 "classes": true,
14 "defaultParams": true,
15 "destructuring": true,
16 "forOf": true,
17 "generators": true,
18 "restParams": true,
19 "spread": true,
20 "jsx": false
21 }
22 },
23 "env": {
24 "es6": true,
25 "node": true,
26 "jest/globals": true
27 },
28 "plugins": [
29 "async",
30 "jest",
31 "jest-async"
32 ],
33 "rules": {
34 "async/missing-await-in-async-fn": 1,
35 "comma-dangle": ["error", {
36 "arrays": "always-multiline",
37 "exports": "always-multiline",
38 "functions": "never",
39 "imports": "always-multiline",
40 "objects": "always-multiline"
41 }],
42 "linebreak-style": [
43 "error",
44 "unix"
45 ],
46 "no-unused-vars": "warn",
47 "indent": [
48 "error",
49 2,
50 {
51 "SwitchCase": 1
52 }
53 ],
54 "no-underscore-dangle": [
55 0
56 ],
57 "max-len": [
58 "error",
59 110
60 ],
61 "jest/no-disabled-tests": "warn",
62 "jest/no-focused-tests": "error",
63 "jest/no-identical-title": "error",
64 "jest/valid-expect": "error",
65 "no-use-before-define":"warn",
66 "no-prototype-builtins":"warn",
67 "no-new":"off"
68 }
69}
\No newline at end of file