forked from the-blue-alliance/the-blue-alliance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
36 lines (36 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
module.exports = {
'parser': 'babel-eslint',
'extends': 'airbnb',
'plugins': [
'react',
],
'env': {
'jest': true,
'jasmine': true,
'browser': true,
'jquery': true,
},
'rules': {
'semi': ['error', 'never'],
'max-len': 'off',
'react/jsx-filename-extension': 'off',
'react/forbid-prop-types': ['warn', {
'forbid': ['array'],
}],
'react/prefer-es6-class': ['warn'],
'import/no-extraneous-dependencies': ['error', {
'devDependencies': true,
}],
'no-plusplus': ['error', {
'allowForLoopAfterthoughts': true,
}],
'arrow-parens': ['error', 'always'],
'comma-dangle': ['error', {
'functions': 'never',
'arrays': 'always-multiline',
'objects': 'always-multiline',
'imports': 'always-multiline',
'exports': 'always-multiline',
}],
},
}