File tree 3 files changed +7
-20
lines changed
3 files changed +7
-20
lines changed Original file line number Diff line number Diff line change 7
7
"extends": [
8
8
"airbnb",
9
9
"plugin:react/recommended",
10
- "plugin: prettier/recommended ",
10
+ "prettier",
11
11
"prettier/react"
12
12
],
13
13
"globals": {
30
30
}
31
31
],
32
32
"rules": {
33
- "arrow-parens": ["error", "as-needed"],
34
33
"class-methods-use-this": "off",
35
- "comma-dangle": ["error", {
36
- "arrays": "always-multiline",
37
- "objects": "always-multiline",
38
- "imports": "always-multiline",
39
- "exports": "always-multiline",
40
- "functions": "ignore"
41
- }],
42
- "indent": ["error", 2, {
43
- "SwitchCase": 1
44
- }],
45
34
"global-require": "off",
46
35
"no-console": ["error", {
47
36
"allow": ["warn", "error"]
52
41
"no-use-before-define": ["error", {
53
42
"variables": false
54
43
}],
55
- "object-curly-newline": "off",
56
- "operator-linebreak": "off",
57
- "radix": "off",
58
44
59
45
"import/extensions": ["error", {
60
46
"js": "never",
Original file line number Diff line number Diff line change
1
+ {
2
+ "parser": "flow",
3
+ "printWidth": 100,
4
+ "singleQuote": true,
5
+ "trailingComma": "es5"
6
+ }
Original file line number Diff line number Diff line change 17
17
" yarn test" ,
18
18
" git add"
19
19
]
20
- },
21
- "prettier" : {
22
- "printWidth" : 100 ,
23
- "singleQuote" : true ,
24
- "trailingComma" : " es5"
25
20
}
26
21
}
You can’t perform that action at this time.
0 commit comments