• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"] */
10
11/** @type {import("../lib/shared/types").ConfigData} */
12module.exports = {
13    rules: {
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-misleading-character-class": "error",
46        "no-mixed-spaces-and-tabs": "error",
47        "no-new-symbol": "error",
48        "no-obj-calls": "error",
49        "no-octal": "error",
50        "no-prototype-builtins": "error",
51        "no-redeclare": "error",
52        "no-regex-spaces": "error",
53        "no-self-assign": "error",
54        "no-setter-return": "error",
55        "no-shadow-restricted-names": "error",
56        "no-sparse-arrays": "error",
57        "no-this-before-super": "error",
58        "no-undef": "error",
59        "no-unexpected-multiline": "error",
60        "no-unreachable": "error",
61        "no-unsafe-finally": "error",
62        "no-unsafe-negation": "error",
63        "no-unused-labels": "error",
64        "no-unused-vars": "error",
65        "no-useless-catch": "error",
66        "no-useless-escape": "error",
67        "no-with": "error",
68        "require-yield": "error",
69        "use-isnan": "error",
70        "valid-typeof": "error"
71    }
72};
73