-
-
Notifications
You must be signed in to change notification settings - Fork 179
/
.eslintrc
35 lines (35 loc) · 964 Bytes
/
.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
30
31
32
33
34
35
{
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"es6": true
},
"plugins": ["react"],
"rules": {
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"react/prefer-stateless-function": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": "off",
"react/require-default-props": "off",
"quotes": "off",
"arrow-parens": "off",
"operator-linebreak": "off",
"object-curly-newline": "off",
"jsx-a11y/img-has-alt": "off",
"import/prefer-default-export": "off",
"max-len": "off",
"comma-dangle": [2, "never"],
"quote-props": [2, "consistent-as-needed"],
"class-method-use-this": "off",
"class-methods-use-this": "off",
"no-use-before-define": "off",
"no-plusplus": "off",
"global-require": "off"
}
}