-
Notifications
You must be signed in to change notification settings - Fork 801
/
.eslintrc.js
29 lines (29 loc) · 1013 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
module.exports = {
extends: ['airbnb', 'prettier', 'prettier/react'],
parser: 'babel-eslint',
rules: {
'no-underscore-dangle': ['error', { allow: ['__standin_getCurrent'] }],
'no-console': ['error', { allow: ['warn', 'error'] }],
'no-plusplus': 'off',
'no-continue': 'off',
'no-restricted-syntax': 'off',
'no-prototype-builtins': 'off',
'no-param-reassign': 'off',
'no-constant-condition': 'off',
'no-shadow': 'off',
'class-methods-use-this': 'off',
'import/no-extraneous-dependencies': 'off',
'import/prefer-default-export': 'off',
'react/prop-types': 'off',
'react/prefer-stateless-function': 'off',
'react/no-multi-comp': 'off',
'react/prefer-es6-class': 'off',
'react/jsx-filename-extension': ['error', { extensions: ['.js'] }],
'react/require-default-props': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
},
globals: {
__REACT_HOT_LOADER__: true,
},
};