1 | {
|
2 | "extends": "eslint:recommended",
|
3 | "env": {
|
4 | "es6": true,
|
5 | "browser": true,
|
6 | "jasmine": true,
|
7 | "commonjs": true,
|
8 | "node": true
|
9 | },
|
10 | "plugins": [
|
11 | "react"
|
12 | ],
|
13 | "parser": "babel-eslint",
|
14 | "parserOptions": {
|
15 | "ecmaFeatures": {
|
16 | "jsx": true,
|
17 | "modules": true
|
18 | },
|
19 | "sourceType": "module"
|
20 | },
|
21 | "globals": {
|
22 | "module": true,
|
23 | "inject": true,
|
24 | "$": true
|
25 | },
|
26 | "rules": {
|
27 | "no-unused-vars": 0,
|
28 | "curly": 2,
|
29 | "default-case": 2,
|
30 | "eqeqeq": 2,
|
31 | "no-loop-func": 1,
|
32 | "no-magic-numbers": [
|
33 | 1,
|
34 | {
|
35 | "ignore": [
|
36 | -1,
|
37 | 0,
|
38 | 1
|
39 | ]
|
40 | }
|
41 | ],
|
42 | "no-throw-literal": 1,
|
43 | "radix": 2,
|
44 | "quotes": [
|
45 | 2,
|
46 | "single"
|
47 | ],
|
48 | "brace-style": [
|
49 | 1,
|
50 | "stroustrup"
|
51 | ],
|
52 | "no-var": 2,
|
53 | "prefer-arrow-callback": 2,
|
54 | "semi": 2,
|
55 | "no-extra-boolean-cast": 0
|
56 | }
|
57 | } |
\ | No newline at end of file |