-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.js
29 lines (29 loc) · 693 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 = {
parser: 'babel-eslint',
extends: [
'airbnb',
'prettier',
'plugin:prettier/recommended',
'prettier/react',
'prettier/standard',
'plugin:jest/recommended',
],
plugins: ['prettier'],
env: {
browser: true,
es6: true,
},
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
'react/forbid-prop-types': 0,
'react/destructuring-assignment': 0,
'react/require-default-props': 0,
'prettier/prettier': 'error',
'no-underscore-dangle': 0,
'jsx-a11y/click-events-have-key-events': 0,
'jsx-a11y/label-has-for': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/no-static-element-interactions': 0,
camelcase: 0,
},
};