-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
35 lines (35 loc) · 827 Bytes
/
index.js
File metadata and controls
35 lines (35 loc) · 827 Bytes
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
module.exports = {
env: {
node: true,
browser: true,
jest: true,
},
parser: 'babel-eslint',
extends: ['airbnb', 'prettier', 'prettier/react'],
plugins: ['jest', 'prettier'],
rules: {
'no-underscore-dangle': 0,
'consistent-return': 0,
'prettier/prettier': [
'error',
{
singleQuote: true,
tabWidth: 4,
},
],
'no-multiple-empty-lines': [
2,
{
max: 1,
},
],
'react/prop-types': 1,
'react/jsx-filename-extension': 0,
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/test.js', '**/*.test.js'],
},
],
},
};