1 | {
|
2 | "extends" : [
|
3 | "eslint:recommended",
|
4 | "plugin:react/recommended"
|
5 | ],
|
6 | "env" : {
|
7 | "browser" : true
|
8 | },
|
9 | "parser" : "babel-eslint",
|
10 | "parserOptions" : {
|
11 | "ecmaFeatures" : {
|
12 | "jsx" : true,
|
13 | "modules" : true
|
14 | }
|
15 | },
|
16 | "rules" : {
|
17 | "indent" : [
|
18 | "error",
|
19 | 2,
|
20 | {
|
21 | "FunctionDeclaration" : {
|
22 | "parameters" : "first"
|
23 | },
|
24 | "FunctionExpression" : {
|
25 | "parameters" : "first"
|
26 | },
|
27 | "CallExpression" : {
|
28 | "arguments" : "first"
|
29 | },
|
30 | "ObjectExpression" : 1
|
31 | }
|
32 | ]
|
33 | }
|
34 | } |
\ | No newline at end of file |