forked from DavidAnson/markdownlint-cli2-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
71 lines (69 loc) · 2.2 KB
/
.eslintrc.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "script"
},
"env": {
"node": true,
"es6": true
},
"plugins": [
"node",
"unicorn"
],
"extends": [
"eslint:all",
"plugin:unicorn/all"
],
"reportUnusedDisableDirectives": true,
"rules": {
"indent": ["error", 2],
"function-call-argument-newline": "off",
"one-var": "off",
"padded-blocks": "off",
"prefer-named-capture-group": "off",
"sort-keys": "off",
"node/handle-callback-err": "error",
"node/no-callback-literal": "error",
"node/no-exports-assign": "error",
"node/no-extraneous-import": "error",
"node/no-extraneous-require": "error",
"node/no-missing-import": "error",
"node/no-missing-require": "error",
"node/no-new-require": "error",
"node/no-path-concat": "error",
"node/no-process-exit": "error",
"node/no-unpublished-bin": "error",
"node/no-unpublished-import": "error",
"node/no-unpublished-require": "error",
"node/no-unsupported-features/es-builtins": "error",
"node/no-unsupported-features/es-syntax": "error",
"node/no-unsupported-features/node-builtins": "error",
"node/process-exit-as-throw": "error",
"node/shebang": "error",
"node/no-deprecated-api": "error",
"node/callback-return": "error",
"node/exports-style": "error",
"node/file-extension-in-import": "error",
"node/global-require": "error",
"node/no-mixed-requires": "error",
"node/no-process-env": "error",
"node/no-restricted-import": "error",
"node/no-restricted-require": "error",
"node/no-sync": "error",
"node/prefer-global/buffer": "error",
"node/prefer-global/console": "error",
"node/prefer-global/process": "error",
"node/prefer-global/text-decoder": "error",
"node/prefer-global/text-encoder": "error",
"node/prefer-global/url-search-params": "error",
"node/prefer-global/url": "error",
"node/prefer-promises/dns": "error",
"node/prefer-promises/fs": "error",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-unsafe-regex": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-top-level-await": "off",
"unicorn/switch-case-braces": ["error", "avoid"]
}
}