-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc
29 lines (29 loc) · 1.06 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"extends": ["pretty-standard"],
"parser": "babel-eslint",
"plugins": ["react", "import", "prettier"],
"rules": {
"import/no-unresolved": ["error"],
"import/named": ["error"],
"import/default": ["error"],
"import/order": ["warn", {
// "newlines-between": "always-and-inside-groups",
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"]
}],
"import/extensions": ["warn"],
"import/newline-after-import": ["warn"],
"react/prop-types": ["warn"],
"react/sort-comp": ["warn"],
"react/jsx-closing-bracket-location": ["warn"],
"react/jsx-pascal-case": ["warn"],
"react/jsx-curly-spacing": ["warn", "never"],
"react/no-string-refs": ["warn"],
"react/jsx-wrap-multilines": ["warn"],
"react/self-closing-comp": ["warn"],
"react/jsx-no-bind": ["warn"],
"react/require-render-return": ["warn"],
"react/no-multi-comp": ["warn", { "ignoreStateless": true }],
"react/prefer-es6-class": ["warn"],
"prettier/prettier": ["error", {"semi": false, "trailingComma": "es5"}]
}
}