Line | |
---|
1 | {
|
---|
2 | "parser": "babel-eslint",
|
---|
3 | "plugins": [ "react" ],
|
---|
4 | "extends": "airbnb-base",
|
---|
5 | "env": {
|
---|
6 | "browser": true,
|
---|
7 | "es6": true,
|
---|
8 | "node": true
|
---|
9 | },
|
---|
10 | "parserOptions": {
|
---|
11 | "ecmaFeatures": {
|
---|
12 | "jsx": true,
|
---|
13 | "modules": true
|
---|
14 | },
|
---|
15 | "sourceType": "module"
|
---|
16 | },
|
---|
17 | "ecmaFeatures": {
|
---|
18 | "arrowFunctions": true,
|
---|
19 | "blockBindings": true,
|
---|
20 | "classes": true,
|
---|
21 | "defaultParams": true,
|
---|
22 | "destructuring": true,
|
---|
23 | "forOf": true,
|
---|
24 | "generators": true,
|
---|
25 | "modules": true,
|
---|
26 | "spread": true,
|
---|
27 | "templateStrings": true,
|
---|
28 | "jsx": true
|
---|
29 | },
|
---|
30 | "rules": {
|
---|
31 | "consistent-return": [0],
|
---|
32 | "key-spacing": [0],
|
---|
33 | "quotes": [0],
|
---|
34 | "new-cap": [0],
|
---|
35 | "no-multi-spaces": [0],
|
---|
36 | "no-shadow": [0],
|
---|
37 | "no-unused-vars": [1],
|
---|
38 | "no-use-before-define": [2, "nofunc"],
|
---|
39 | "react/jsx-no-undef": 1,
|
---|
40 | "react/jsx-uses-react": 1,
|
---|
41 | "react/jsx-uses-vars": 1
|
---|
42 | }
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.