-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
35 lines (35 loc) · 919 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
module.exports = {
extends: 'airbnb-base',
env: {
jest: true,
jasmine: true,
},
rules: {
'no-console': 0,
'arrow-body-style': 0,
'arrow-parens': ['error', 'as-needed'],
'comma-dangle': ['error', 'always-multiline'],
'import/no-dynamic-require': 'off',
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: true,
},
],
indent: 'off',
'no-mixed-operators': 'off',
'wrap-iife': 'off',
'no-confusing-arrow': 'off',
'no-restricted-syntax': 0,
'space-before-function-paren': 'off',
'generator-star-spacing': 'off',
'max-len': ['error', 240],
'no-param-reassign': [
'error',
{
props: false,
},
],
'no-multi-assign': 'off',
},
};