forked from cube-js/cube
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
36 lines (36 loc) · 921 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 = {
extends: 'airbnb-base',
plugins: [
'import'
],
parser: 'babel-eslint',
rules: {
'max-classes-per-file': 0,
'prefer-object-spread': 0,
'import/no-unresolved': 0,
'comma-dangle': 0,
'no-console': 0,
'arrow-parens': 0,
'import/extensions': 0,
quotes: ['warn', 'single'],
'no-prototype-builtins': 0,
'class-methods-use-this': 0,
'no-param-reassign': 0,
'no-mixed-operators': 0,
'no-else-return': 0,
'prefer-promise-reject-errors': 0,
'no-plusplus': 0,
'no-await-in-loop': 0,
'operator-linebreak': 0,
'max-len': ['error', 120, 2, {
ignoreUrls: true,
ignoreComments: false,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
}],
'no-trailing-spaces': ['warn', { skipBlankLines: true }],
'no-unused-vars': ['warn'],
'object-curly-newline': 0
}
};