-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.aousov.base.js.yml
29 lines (29 loc) · 1.1 KB
/
.eslintrc.aousov.base.js.yml
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
#Author: Alexey Usov ([email protected], https://t.me/doubleaxe, https://github.com/doubleaxe)
#Please don't remove this comment if you use unmodified file
rules:
array-callback-return: "error"
block-scoped-var: "error"
consistent-return: ["error", { "treatUndefinedAsUnspecified": false }]
default-case-last: "error"
no-caller: "error"
no-cond-assign: ["error", "always"]
no-empty: ["error", { "allowEmptyCatch": true }]
no-eq-null: "error"
no-fallthrough: ["error", { "commentPattern": "break\\s+omitted" }]
no-new: "error"
no-new-func: "error"
no-new-object: "error"
no-new-wrappers: "error"
no-proto: "error"
no-promise-executor-return: "error"
no-return-assign: ["error", "except-parens"]
no-sequences: "error"
no-shadow: "error"
no-throw-literal: "error"
no-unmodified-loop-condition: "error"
no-unreachable-loop: "error"
no-unused-vars: ["error", { "args": "none" }]
no-use-before-define: ["error", { "functions": false, "classes": false }]
no-var: "error"
prefer-const: "error"
prefer-promise-reject-errors: "error"