-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (35 loc) · 961 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
// eslint-disable-next-line no-undef
module.exports = {
root: true,
extends: ['airbnb-base', 'plugin:prettier/recommended'],
env: {
browser: true,
},
plugins: ['cypress', 'prettier'],
rules: {
'no-alert': 0,
'no-param-reassign': [2, { props: false }],
'no-plusplus': 0,
'no-iterator': 0,
'no-restricted-syntax': [2, 'WithStatement'],
'func-style': 0,
'linebreak-style': 0,
indent: 'off',
'space-before-function-paren': [
'error',
{
anonymous: 'never',
named: 'never',
asyncArrow: 'never',
},
],
'prefer-arrow-callback': 0,
'prefer-template': 0,
'func-names': ['error', 'never'],
'eol-last': 0,
quotes: ['error', 'single'],
'quote-props': 0,
'trailing-comma': 0,
'prettier/prettier': 'error',
},
}