-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
30 lines (30 loc) · 921 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": ["airbnb", "plugin:storybook/recommended"],
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"jest": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6
},
"plugins": ["react"],
"rules": {
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"jsx-quotes": ["error", "prefer-single"],
"semi": ["error", "always"],
"import/extensions": ["off", "never"],
"react/jsx-indent": "off",
"react/forbid-prop-types": "off",
"react/prefer-stateless-function": "off",
"react/jsx-curly-brace-presence": ["off", "ignore"],
"function-paren-newline": ["off", "ignore"],
"react/no-array-index-key": ["off", "ignore"],
"react/destructuring-assignment": ["off", "ignore"],
"react/jsx-filename-extension": ["off", "ignore"],
'react/jsx-props-no-spreading': ['off']
}
};