-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
38 lines (38 loc) · 927 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
37
38
module.exports = {
env: {
es6: true,
node: true
},
extends: "airbnb",
parserOptions: {
ecmaVersion: 2018,
sourceType: "module"
},
plugins: ["prettier"],
rules: {
"space-before-function-paren": "off",
"prettier/prettier": "error",
"global-require": "off",
"import/no-dynamic-require": "off",
"no-tabs": "off",
"no-console": "off",
"comma-dangle": "off",
"arrow-parens": "off",
"implicit-arrow-linebreak": "off",
"linebreak-style": ["error", "unix"],
"operator-linebreak": "off",
"function-paren-newline": "off",
indent: "off",
quotes: ["error", "backtick"],
semi: ["error", "always"],
"object-curly-newline": [
"off",
{
ObjectExpression: "always",
ObjectPattern: { multiline: true },
ImportDeclaration: "never",
ExportDeclaration: { multiline: true, minProperties: 3 }
}
]
}
};