-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.js
44 lines (44 loc) · 1006 Bytes
/
base.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
43
44
module.exports = {
rules: {
'arrow-parens': [
'error',
'as-needed',
],
indent: [
'error',
4,
],
'linebreak-style': [
'error',
'unix',
],
'max-len': [
'error',
{
code: 120,
ignoreComments: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignoreTrailingComments: true,
ignoreUrls: true,
},
],
'no-restricted-syntax': [
'error',
'ForInStatement',
'LabeledStatement',
'WithStatement',
],
'sort-keys-fix/sort-keys-fix': 2,
'space-before-function-paren': [
'error',
'always',
],
'unicorn/filename-case': [
'error',
{
case: 'camelCase',
},
],
},
};