forked from CrunchyData/spatial-suite-demo-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
42 lines (42 loc) · 861 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
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = {
extends: [
'react-app',
'airbnb',
],
rules: {
'arrow-parens': ['error', 'as-needed'],
'import/no-cycle': 'off',
'import/no-unresolved': 'off',
'no-underscore-dangle': 'off',
'no-multi-spaces': [
'error',
{
'ignoreEOLComments': true,
},
],
'no-plusplus': 'off',
'no-use-before-define': [
'error',
{
'functions': false
},
],
'one-var': 'off',
'quote-props': [
'error',
'as-needed',
{
'numbers': true,
},
],
'react/destructuring-assignment': 'off',
'react/jsx-props-no-spreading': 'off',
'react/jsx-one-expression-per-line': 'off',
'react/no-array-index-key': 'off',
'react/prop-types': 'off',
'react/state-in-constructor': 'off',
'semi': [
'error',
],
},
};