UNPKG

1.26 kBJSONView Raw
1{
2 "extends": ["react-app", "prettier", "prettier/react"],
3 "env": {
4 "es6": true,
5 "browser": true,
6 "node": true
7 },
8 "parser": "babel-eslint",
9 "parserOptions": {
10 "ecmaVersion": 6,
11 "ecmaFeatures": {
12 "jsx": true,
13 "classes": true,
14 "defaultParams": true,
15 "experimentalObjectRestSpread": true,
16 "impliedStrict": true
17 }
18 },
19 "plugins": ["react", "prettier"],
20 "rules": {
21 "prettier/prettier": [
22 "error",
23 {
24 "trailingComma": "none",
25 "singleQuote": true,
26 "printWidth": 100
27 }
28 ],
29 "react/jsx-filename-extension": [
30 2,
31 {
32 "extensions": [".js", ".jsx"]
33 }
34 ],
35 "react/jsx-closing-bracket-location": [2, "line-aligned"],
36 "react/jsx-tag-spacing": 2,
37 "react/prefer-stateless-function": 0,
38 "react/no-multi-comp": [
39 2,
40 {
41 "ignoreStateless": true
42 }
43 ],
44 "react/prop-types": [
45 2
46 ],
47 "react/jsx-wrap-multilines": [
48 2,
49 {
50 "declaration": true,
51 "assignment": true,
52 "return": true,
53 "arrow": true
54 }
55 ],
56 "react/jsx-no-target-blank": 2,
57 "react/no-danger": 2,
58 "react/jsx-no-duplicate-props": 2,
59 "no-console": 0
60 }
61}