-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
40 lines (40 loc) · 845 Bytes
/
index.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
module.exports = {
env: {
commonjs: true,
es2021: true,
node: true,
},
ignorePatterns: [
'/node_modules/',
'/.serverless/',
'/.eslintrc.js',
'/.webpack/',
],
extends: ['airbnb-base'],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
'no-console': 0,
camelcase: 0,
'comma-dangle': 1,
'arrow-parens': 0,
'no-plusplus': 0,
'no-underscore-dangle': 0,
'no-confusing-arrow': 0,
'import/no-unresolved': 0,
'import/prefer-default-export': 0,
'no-trailing-spaces': [2, { skipBlankLines: true }],
'no-unused-expressions': [1, { allowTernary: true }],
'max-len': [
2,
{
code: 120,
ignoreStrings: true,
ignoreTemplateLiterals: true,
},
],
'operator-linebreak': 0,
'implicit-arrow-linebreaks': 0,
},
};