1 | /**
|
---|
2 | * @fileoverview Configuration applied when a user configuration extends from
|
---|
3 | * eslint:recommended.
|
---|
4 | * @author Nicholas C. Zakas
|
---|
5 | */
|
---|
6 |
|
---|
7 | "use strict";
|
---|
8 |
|
---|
9 | /* eslint sort-keys: ["error", "asc"] -- Long, so make more readable */
|
---|
10 |
|
---|
11 | /** @type {import("../lib/shared/types").ConfigData} */
|
---|
12 | module.exports = Object.freeze({
|
---|
13 | rules: Object.freeze({
|
---|
14 | "constructor-super": "error",
|
---|
15 | "for-direction": "error",
|
---|
16 | "getter-return": "error",
|
---|
17 | "no-async-promise-executor": "error",
|
---|
18 | "no-case-declarations": "error",
|
---|
19 | "no-class-assign": "error",
|
---|
20 | "no-compare-neg-zero": "error",
|
---|
21 | "no-cond-assign": "error",
|
---|
22 | "no-const-assign": "error",
|
---|
23 | "no-constant-condition": "error",
|
---|
24 | "no-control-regex": "error",
|
---|
25 | "no-debugger": "error",
|
---|
26 | "no-delete-var": "error",
|
---|
27 | "no-dupe-args": "error",
|
---|
28 | "no-dupe-class-members": "error",
|
---|
29 | "no-dupe-else-if": "error",
|
---|
30 | "no-dupe-keys": "error",
|
---|
31 | "no-duplicate-case": "error",
|
---|
32 | "no-empty": "error",
|
---|
33 | "no-empty-character-class": "error",
|
---|
34 | "no-empty-pattern": "error",
|
---|
35 | "no-ex-assign": "error",
|
---|
36 | "no-extra-boolean-cast": "error",
|
---|
37 | "no-extra-semi": "error",
|
---|
38 | "no-fallthrough": "error",
|
---|
39 | "no-func-assign": "error",
|
---|
40 | "no-global-assign": "error",
|
---|
41 | "no-import-assign": "error",
|
---|
42 | "no-inner-declarations": "error",
|
---|
43 | "no-invalid-regexp": "error",
|
---|
44 | "no-irregular-whitespace": "error",
|
---|
45 | "no-loss-of-precision": "error",
|
---|
46 | "no-misleading-character-class": "error",
|
---|
47 | "no-mixed-spaces-and-tabs": "error",
|
---|
48 | "no-new-symbol": "error",
|
---|
49 | "no-nonoctal-decimal-escape": "error",
|
---|
50 | "no-obj-calls": "error",
|
---|
51 | "no-octal": "error",
|
---|
52 | "no-prototype-builtins": "error",
|
---|
53 | "no-redeclare": "error",
|
---|
54 | "no-regex-spaces": "error",
|
---|
55 | "no-self-assign": "error",
|
---|
56 | "no-setter-return": "error",
|
---|
57 | "no-shadow-restricted-names": "error",
|
---|
58 | "no-sparse-arrays": "error",
|
---|
59 | "no-this-before-super": "error",
|
---|
60 | "no-undef": "error",
|
---|
61 | "no-unexpected-multiline": "error",
|
---|
62 | "no-unreachable": "error",
|
---|
63 | "no-unsafe-finally": "error",
|
---|
64 | "no-unsafe-negation": "error",
|
---|
65 | "no-unsafe-optional-chaining": "error",
|
---|
66 | "no-unused-labels": "error",
|
---|
67 | "no-unused-vars": "error",
|
---|
68 | "no-useless-backreference": "error",
|
---|
69 | "no-useless-catch": "error",
|
---|
70 | "no-useless-escape": "error",
|
---|
71 | "no-with": "error",
|
---|
72 | "require-yield": "error",
|
---|
73 | "use-isnan": "error",
|
---|
74 | "valid-typeof": "error"
|
---|
75 | })
|
---|
76 | });
|
---|