forked from Automattic/cloudup-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 1.02 KB
/
.eslintrc
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
{
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"allowImportExportEverywhere": true
},
"plugins": [],
"rules": {
"arrow-spacing": "warn",
"brace-style": "warn",
"comma-dangle": "off",
"curly": "error",
"eqeqeq": ["error", "smart"],
"key-spacing": "error",
"keyword-spacing": "warn",
"max-len": "warn",
"no-console": "off",
"no-constant-condition": "off",
"no-eq-null": "warn",
"no-prototype-builtins": "warn",
"no-restricted-globals": "off",
"no-restricted-syntax": ["error", "ForOfStatement"],
"no-var": "warn",
"object-shorthand": "warn",
"prefer-const": "error",
"prettier/prettier": "warn",
"require-atomic-updates": "off",
"quotes": ["warn", "single"],
"semi": "error",
"space-before-blocks": ["warn", "always"],
"space-before-function-paren": ["error", "never"]
},
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"env": {
"commonjs": true,
"es6": true,
"node": true
}
}