forked from box/box-ui-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
27 lines (26 loc) · 988 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
const eslintrc = require.resolve('@box/frontend/eslint/eslintrc.js');
module.exports = {
extends: [eslintrc],
rules: {
camelcase: 'off',
'class-methods-use-this': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'import/no-extraneous-dependencies': 'off', // fixme
'prefer-destructuring': 'off', // fixme
'react/default-props-match-prop-types': 'off', // fixme
'react/destructuring-assignment': 'off', // fixme
'react/display-name': 'off',
'react/forbid-prop-types': 'off', // fixme
'react/jsx-sort-props': 'off', // fixme
'react/jsx-no-bind': 'off', // fixme
'react/sort-comp': 'off', // fixme
'react/no-unused-prop-types': 'off', // fixme
'react/no-access-state-in-setstate': 'off', // fixme
'react/no-array-index-key': 'off', // fixme
'react/no-this-in-sfc': 'off',
},
globals: {
shallow: true,
mount: true,
},
};