-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeta.js
30 lines (30 loc) · 906 Bytes
/
meta.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
module.exports = {
env: {
commonjs: true,
es6: true,
},
extends: "eslint:recommended",
rules: {
"array-bracket-newline": ["warn", "consistent"],
"array-bracket-spacing": "warn",
"array-element-newline": ["warn", "consistent"],
"arrow-parens": "warn",
"comma-dangle": ["warn", "always-multiline"],
"comma-spacing": ["error", {after: true, before: false}],
"comma-style": "error",
"curly": ["error", "multi-line", "consistent"],
"eol-last": "error",
"indent": ["error", "tab"],
"linebreak-style": ["error", "unix"],
"object-curly-newline": "error",
"object-curly-spacing": "error",
"object-property-newline": ["error", {allowAllPropertiesOnSameLine: true}],
"padded-blocks": ["error", "never"],
"quote-props": ["error", "consistent-as-needed"],
"quotes": "error",
"semi": "error",
"semi-spacing": "error",
"semi-style": "error",
"sort-keys": "error",
},
};