linted 16.12.2-rc.0 → 16.12.2-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +35 -35
- package/.github/workflows/rc.yml +35 -35
- package/LICENSE +21 -21
- package/README.md +390 -390
- package/SECURITY.md +9 -9
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports.d.ts.map +1 -1
- package/dist/rules/html/enable.d.ts +8 -0
- package/dist/rules/html/enable.d.ts.map +1 -0
- package/dist/rules/html/enable.js +15 -0
- package/dist/rules/html/enable.js.map +1 -0
- package/dist/rules/html/enable_recommended.d.ts +3 -0
- package/dist/rules/html/enable_recommended.d.ts.map +1 -0
- package/dist/rules/html/enable_recommended.js +8 -0
- package/dist/rules/html/enable_recommended.js.map +1 -0
- package/dist/rules/html.d.ts +8 -0
- package/dist/rules/html.d.ts.map +1 -0
- package/dist/rules/html.js +4 -0
- package/dist/rules/html.js.map +1 -0
- package/dist/rules/js/enable.d.ts +348 -0
- package/dist/rules/js/enable.d.ts.map +1 -0
- package/dist/rules/js/enable.js +496 -0
- package/dist/rules/js/enable.js.map +1 -0
- package/dist/rules/js/enable_stylistic.d.ts +420 -0
- package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
- package/dist/rules/js/enable_stylistic.js +585 -0
- package/dist/rules/js/enable_stylistic.js.map +1 -0
- package/dist/rules/js.d.ts +765 -0
- package/dist/rules/js.d.ts.map +1 -0
- package/dist/rules/js.js +4 -0
- package/dist/rules/js.js.map +1 -0
- package/dist/rules/json/enable.d.ts +27 -0
- package/dist/rules/json/enable.d.ts.map +1 -0
- package/dist/rules/json/enable.js +31 -0
- package/dist/rules/json/enable.js.map +1 -0
- package/dist/rules/json/enable_x.d.ts.map +1 -1
- package/dist/rules/json/enable_x.js +48 -8
- package/dist/rules/json/enable_x.js.map +1 -1
- package/dist/rules/json.d.ts +74 -0
- package/dist/rules/json.d.ts.map +1 -0
- package/dist/rules/json.js +4 -0
- package/dist/rules/json.js.map +1 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -1
- package/dist/rules/jsonc/override.js +12 -3
- package/dist/rules/jsonc/override.js.map +1 -1
- package/dist/rules/jsonc.d.ts +77 -0
- package/dist/rules/jsonc.d.ts.map +1 -0
- package/dist/rules/jsonc.js +4 -0
- package/dist/rules/jsonc.js.map +1 -0
- package/dist/rules/md/enable.d.ts +7 -0
- package/dist/rules/md/enable.d.ts.map +1 -0
- package/dist/rules/md/enable.js +14 -0
- package/dist/rules/md/enable.js.map +1 -0
- package/dist/rules/md.d.ts +7 -0
- package/dist/rules/md.d.ts.map +1 -0
- package/dist/rules/md.js +3 -0
- package/dist/rules/md.js.map +1 -0
- package/dist/rules/mocha/enable.d.ts +3 -0
- package/dist/rules/mocha/enable.d.ts.map +1 -0
- package/dist/rules/mocha/enable.js +3 -0
- package/dist/rules/mocha/enable.js.map +1 -0
- package/dist/rules/mocha/enable_recommended.d.ts +3 -0
- package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/enable_recommended.js +8 -0
- package/dist/rules/mocha/enable_recommended.js.map +1 -0
- package/dist/rules/mocha.d.ts +8 -0
- package/dist/rules/mocha.d.ts.map +1 -0
- package/dist/rules/mocha.js +4 -0
- package/dist/rules/mocha.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +5 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -0
- package/dist/rules/svelte/disable.js +8 -0
- package/dist/rules/svelte/disable.js.map +1 -0
- package/dist/rules/svelte/disable_js.d.ts.map +1 -1
- package/dist/rules/svelte/disable_js.js +8 -3
- package/dist/rules/svelte/disable_js.js.map +1 -1
- package/dist/rules/svelte/disable_ts.d.ts.map +1 -1
- package/dist/rules/svelte/disable_ts.js +8 -3
- package/dist/rules/svelte/disable_ts.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts +126 -0
- package/dist/rules/svelte/enable.d.ts.map +1 -0
- package/dist/rules/svelte/enable.js +190 -0
- package/dist/rules/svelte/enable.js.map +1 -0
- package/dist/rules/svelte/enable_x.d.ts.map +1 -1
- package/dist/rules/svelte/enable_x.js +15 -3
- package/dist/rules/svelte/enable_x.js.map +1 -1
- package/dist/rules/svelte.d.ts +1269 -0
- package/dist/rules/svelte.d.ts.map +1 -0
- package/dist/rules/svelte.js +15 -0
- package/dist/rules/svelte.js.map +1 -0
- package/dist/rules/ts/disable.d.ts +18 -0
- package/dist/rules/ts/disable.d.ts.map +1 -0
- package/dist/rules/ts/disable.js +21 -0
- package/dist/rules/ts/disable.js.map +1 -0
- package/dist/rules/ts/disable_x.d.ts.map +1 -1
- package/dist/rules/ts/disable_x.js +1 -2
- package/dist/rules/ts/disable_x.js.map +1 -1
- package/dist/rules/ts/enable.d.ts +262 -0
- package/dist/rules/ts/enable.d.ts.map +1 -0
- package/dist/rules/ts/enable.js +503 -0
- package/dist/rules/ts/enable.js.map +1 -0
- package/dist/rules/ts/enable_x.d.ts.map +1 -1
- package/dist/rules/ts/enable_x.js +32 -5
- package/dist/rules/ts/enable_x.js.map +1 -1
- package/dist/rules/ts.d.ts +1133 -0
- package/dist/rules/ts.d.ts.map +1 -0
- package/dist/rules/ts.js +13 -0
- package/dist/rules/ts.js.map +1 -0
- package/dist/rules/yml/enable.d.ts +39 -0
- package/dist/rules/yml/enable.d.ts.map +1 -0
- package/dist/rules/yml/enable.js +60 -0
- package/dist/rules/yml/enable.js.map +1 -0
- package/dist/rules/yml/enable_x.d.ts.map +1 -1
- package/dist/rules/yml/enable_x.js +57 -9
- package/dist/rules/yml/enable_x.js.map +1 -1
- package/dist/rules/yml.d.ts +73 -0
- package/dist/rules/yml.d.ts.map +1 -0
- package/dist/rules/yml.js +4 -0
- package/dist/rules/yml.js.map +1 -0
- package/dist/rules.d.ts +75 -75
- package/dist/rules.js +9 -9
- package/dist/rules.js.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +99 -99
- package/src/files/html.ts +1 -1
- package/src/files/js.ts +1 -1
- package/src/files/json.ts +1 -1
- package/src/files/jsonc.ts +4 -4
- package/src/files/md.ts +1 -1
- package/src/files/mocha.ts +1 -1
- package/src/files/svelte.ts +1 -1
- package/src/files/ts.ts +5 -5
- package/src/files/yml.ts +5 -5
- package/src/files.ts +22 -22
- package/src/imports/parsers.ts +15 -15
- package/src/imports/plugins.ts +19 -19
- package/src/imports.ts +8 -8
- package/src/index.ts +36 -36
- package/src/rules/_strings/id.ts +18 -18
- package/src/rules/_strings/level.ts +6 -6
- package/src/rules/_strings/state.ts +56 -56
- package/src/rules/_strings.ts +6 -6
- package/src/rules/html/enable.ts +16 -0
- package/src/rules/html/enable_recommended.ts +9 -0
- package/src/rules/html.ts +4 -0
- package/src/rules/js/enable.ts +524 -0
- package/src/rules/js/enable_stylistic.ts +608 -0
- package/src/rules/js.ts +4 -0
- package/src/rules/json/{_enable.ts → enable.ts} +33 -35
- package/src/rules/json/enable_x.ts +89 -50
- package/src/rules/{_json.ts → json.ts} +4 -4
- package/src/rules/jsonc/override.ts +16 -9
- package/src/rules/{_jsonc.ts → jsonc.ts} +4 -4
- package/src/rules/md/enable.ts +15 -0
- package/src/rules/md.ts +3 -0
- package/src/rules/mocha/enable.ts +3 -0
- package/src/rules/mocha/enable_recommended.ts +9 -0
- package/src/rules/mocha.ts +4 -0
- package/src/rules/svelte/disable.ts +9 -0
- package/src/rules/svelte/disable_js.ts +11 -7
- package/src/rules/svelte/disable_ts.ts +9 -5
- package/src/rules/svelte/{_enable.ts → enable.ts} +228 -129
- package/src/rules/svelte/enable_x.ts +20 -9
- package/src/rules/{_svelte.ts → svelte.ts} +15 -15
- package/src/rules/ts/{disable_compiler.ts → disable.ts} +22 -23
- package/src/rules/ts/disable_x.ts +32 -36
- package/src/rules/ts/{_enable.ts → enable.ts} +549 -406
- package/src/rules/ts/enable_x.ts +115 -90
- package/src/rules/{_ts.ts → ts.ts} +13 -13
- package/src/rules/yml/{_enable.ts → enable.ts} +64 -33
- package/src/rules/yml/enable_x.ts +68 -21
- package/src/rules/{_yml.ts → yml.ts} +4 -4
- package/src/rules.ts +22 -22
- package/tsconfig.json +161 -161
- package/types/markdownlint/index.d.ts +3 -3
- package/types/markdownlint/parser.d.ts +9 -9
- package/types/mocha/index.d.ts +8 -8
- package/src/rules/_html.ts +0 -4
- package/src/rules/_js.ts +0 -4
- package/src/rules/_md.ts +0 -3
- package/src/rules/_mocha.ts +0 -4
- package/src/rules/html/_enable.ts +0 -13
- package/src/rules/html/_recommended.ts +0 -7
- package/src/rules/js/_enable.ts +0 -287
- package/src/rules/js/stylistic.ts +0 -294
- package/src/rules/md/_enable.ts +0 -14
- package/src/rules/mocha/_enable.ts +0 -5
- package/src/rules/mocha/_recommended.ts +0 -7
- package/src/rules/svelte/disable_x.ts +0 -8
package/SECURITY.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
# Security Policy
|
2
|
-
|
3
|
-
## Reporting a Vulnerability
|
4
|
-
|
5
|
-
This repository participates in GitHub private vulnerability reporting.
|
6
|
-
|
7
|
-
[__⚑ Report Vulnerability__](./../../security/advisories/new)
|
8
|
-
|
9
|
-
Thank you for your dedication to safety.
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Reporting a Vulnerability
|
4
|
+
|
5
|
+
This repository participates in GitHub private vulnerability reporting.
|
6
|
+
|
7
|
+
[__⚑ Report Vulnerability__](./../../security/advisories/new)
|
8
|
+
|
9
|
+
Thank you for your dedication to safety.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAIxC,OAAO,YAAY,MAAM,4BAA4B,CAAC;;;mCAIE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAIxC,OAAO,YAAY,MAAM,4BAA4B,CAAC;;;mCAIE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQiznB,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;qBAAmN,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAu3D,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAkxD,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAwyC,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBAA89B,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAv20B,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;qBAA+K,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;qBAAolB,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAV3gM,wBASW"}
|
package/dist/imports.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../src/imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../src/imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAQguoB,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;yBAAmN,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAu3D,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAkxD,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAwyC,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;yBAA89B,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAv20B,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;yBAA+K,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;yBAAolB,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAA0wC,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJ92M,wBAGuF"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: readonly ["enable", {
|
2
|
+
readonly "@html-eslint/require-title": "off";
|
3
|
+
readonly "@html-eslint/element-newline": readonly ["error", {
|
4
|
+
readonly skip: readonly ["head"];
|
5
|
+
}];
|
6
|
+
}];
|
7
|
+
export default _default;
|
8
|
+
//# sourceMappingURL=enable.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":";;;;;;AAIA,wBAWW"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { enable, level } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level;
|
3
|
+
export default [
|
4
|
+
enable,
|
5
|
+
{
|
6
|
+
"@html-eslint/require-title": OFF,
|
7
|
+
"@html-eslint/element-newline": [
|
8
|
+
ERROR,
|
9
|
+
{
|
10
|
+
skip: ["head"],
|
11
|
+
},
|
12
|
+
],
|
13
|
+
},
|
14
|
+
];
|
15
|
+
//# sourceMappingURL=enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAE7B,eAAe;IACb,MAAM;IACN;QACE,4BAA4B,EAAE,GAAG;QACjC,8BAA8B,EAAE;YAC9B,KAAK;YACL;gBACE,IAAI,EAAE,CAAC,MAAM,CAAC;aACf;SACF;KACF;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_recommended.d.ts","sourceRoot":"","sources":["../../../src/rules/html/enable_recommended.ts"],"names":[],"mappings":";AAIA,wBAIW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_recommended.js","sourceRoot":"","sources":["../../../src/rules/html/enable_recommended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAG9C,eAAe;IACb,WAAW;IACV,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAA4C;SACzE,KAAK;CACA,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: readonly [readonly ["recommended", Record<string, "off">], readonly ["enable", {
|
2
|
+
readonly "@html-eslint/require-title": "off";
|
3
|
+
readonly "@html-eslint/element-newline": readonly ["error", {
|
4
|
+
readonly skip: readonly ["head"];
|
5
|
+
}];
|
6
|
+
}]];
|
7
|
+
export default _default;
|
8
|
+
//# sourceMappingURL=html.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/rules/html.ts"],"names":[],"mappings":";;;;;;AAGA,wBAA8C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/rules/html.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,WAAW,EAAE,MAAM,CAAU,CAAC"}
|
@@ -0,0 +1,348 @@
|
|
1
|
+
declare const _default: readonly ["enable", {
|
2
|
+
readonly "array-callback-return": readonly ["error", {
|
3
|
+
readonly allowImplicit: false;
|
4
|
+
readonly checkForEach: true;
|
5
|
+
readonly allowVoid: true;
|
6
|
+
}];
|
7
|
+
readonly "constructor-super": "error";
|
8
|
+
readonly "for-direction": "error";
|
9
|
+
readonly "getter-return": readonly ["error", {
|
10
|
+
readonly allowImplicit: false;
|
11
|
+
}];
|
12
|
+
readonly "no-async-promise-executor": "error";
|
13
|
+
readonly "no-await-in-loop": "error";
|
14
|
+
readonly "no-class-assign": "error";
|
15
|
+
readonly "no-compare-neg-zero": "error";
|
16
|
+
readonly "no-cond-assign": readonly ["error", "always"];
|
17
|
+
readonly "no-const-assign": "error";
|
18
|
+
readonly "no-constant-binary-expression": "error";
|
19
|
+
readonly "no-constant-condition": readonly ["error", {
|
20
|
+
readonly checkLoops: true;
|
21
|
+
}];
|
22
|
+
readonly "no-constructor-return": "error";
|
23
|
+
readonly "no-control-regex": "error";
|
24
|
+
readonly "no-debugger": "error";
|
25
|
+
readonly "no-dupe-args": "error";
|
26
|
+
readonly "no-dupe-class-members": "error";
|
27
|
+
readonly "no-dupe-else-if": "error";
|
28
|
+
readonly "no-dupe-keys": "error";
|
29
|
+
readonly "no-duplicate-case": "error";
|
30
|
+
readonly "no-duplicate-imports": "off";
|
31
|
+
readonly "no-empty-character-class": "error";
|
32
|
+
readonly "no-empty-pattern": readonly ["error", {
|
33
|
+
readonly allowObjectPatternsAsParameters: false;
|
34
|
+
}];
|
35
|
+
readonly "no-ex-assign": "error";
|
36
|
+
readonly "no-fallthrough": readonly ["error", {
|
37
|
+
readonly allowEmptyCase: true;
|
38
|
+
readonly reportUnusedFallthroughComment: true;
|
39
|
+
}];
|
40
|
+
readonly "no-func-assign": "error";
|
41
|
+
readonly "no-import-assign": "error";
|
42
|
+
readonly "no-inner-declarations": readonly ["error", "both", {
|
43
|
+
readonly blockScopedFunctions: "allow";
|
44
|
+
}];
|
45
|
+
readonly "no-invalid-regexp": readonly ["error", {
|
46
|
+
readonly allowConstructorFlags: readonly [];
|
47
|
+
}];
|
48
|
+
readonly "no-irregular-whitespace": readonly ["error", {
|
49
|
+
readonly skipStrings: true;
|
50
|
+
readonly skipComments: true;
|
51
|
+
readonly skipRegExps: true;
|
52
|
+
readonly skipTemplates: true;
|
53
|
+
readonly skipJSXText: true;
|
54
|
+
}];
|
55
|
+
readonly "no-loss-of-precision": "error";
|
56
|
+
readonly "no-misleading-character-class": "error";
|
57
|
+
readonly "no-new-native-nonconstructor": "error";
|
58
|
+
readonly "no-obj-calls": "error";
|
59
|
+
readonly "no-promise-executor-return": readonly ["error", {
|
60
|
+
readonly allowVoid: true;
|
61
|
+
}];
|
62
|
+
readonly "no-prototype-builtins": "error";
|
63
|
+
readonly "no-self-assign": readonly ["error", {
|
64
|
+
readonly props: true;
|
65
|
+
}];
|
66
|
+
readonly "no-self-compare": "error";
|
67
|
+
readonly "no-setter-return": "error";
|
68
|
+
readonly "no-sparse-arrays": "error";
|
69
|
+
readonly "no-template-curly-in-string": "error";
|
70
|
+
readonly "no-this-before-super": "error";
|
71
|
+
readonly "no-undef": "error";
|
72
|
+
readonly "no-unexpected-multiline": "error";
|
73
|
+
readonly "no-unmodified-loop-condition": "error";
|
74
|
+
readonly "no-unreachable": "error";
|
75
|
+
readonly "no-unreachable-loop": readonly ["error", {
|
76
|
+
readonly ignore: readonly [];
|
77
|
+
}];
|
78
|
+
readonly "no-unsafe-finally": "error";
|
79
|
+
readonly "no-unsafe-negation": readonly ["error", {
|
80
|
+
readonly enforceForOrderingRelations: true;
|
81
|
+
}];
|
82
|
+
readonly "no-unsafe-optional-chaining": readonly ["error", {
|
83
|
+
readonly disallowArithmeticOperators: true;
|
84
|
+
}];
|
85
|
+
readonly "no-unused-private-class-members": "error";
|
86
|
+
readonly "no-unused-vars": readonly ["error", {
|
87
|
+
readonly vars: "all";
|
88
|
+
readonly args: "all";
|
89
|
+
readonly caughtErrors: "all";
|
90
|
+
readonly ignoreRestSiblings: false;
|
91
|
+
readonly ignoreClassWithStaticInitBlock: false;
|
92
|
+
readonly reportUsedIgnorePattern: true;
|
93
|
+
}];
|
94
|
+
readonly "no-use-before-define": readonly ["error", {
|
95
|
+
readonly functions: true;
|
96
|
+
readonly classes: true;
|
97
|
+
readonly variables: true;
|
98
|
+
readonly allowNamedExports: false;
|
99
|
+
}];
|
100
|
+
readonly "no-useless-assignment": "error";
|
101
|
+
readonly "no-useless-backreference": "error";
|
102
|
+
readonly "require-atomic-updates": readonly ["error", {
|
103
|
+
readonly allowProperties: false;
|
104
|
+
}];
|
105
|
+
readonly "use-isnan": readonly ["error", {
|
106
|
+
readonly enforceForSwitchCase: true;
|
107
|
+
readonly enforceForIndexOf: true;
|
108
|
+
}];
|
109
|
+
readonly "valid-typeof": readonly ["error", {
|
110
|
+
readonly requireStringLiterals: true;
|
111
|
+
}];
|
112
|
+
readonly "accessor-pairs": readonly ["error", {
|
113
|
+
readonly setWithoutGet: true;
|
114
|
+
readonly getWithoutSet: false;
|
115
|
+
readonly enforceForClassMembers: true;
|
116
|
+
}];
|
117
|
+
readonly "arrow-body-style": readonly ["error", "as-needed", {
|
118
|
+
readonly requireReturnForObjectLiteral: true;
|
119
|
+
}];
|
120
|
+
readonly "block-scoped-var": "error";
|
121
|
+
readonly camelcase: "off";
|
122
|
+
readonly "capitalized-comments": "off";
|
123
|
+
readonly "class-methods-use-this": "off";
|
124
|
+
readonly complexity: "off";
|
125
|
+
readonly "consistent-return": readonly ["error", {
|
126
|
+
readonly treatUndefinedAsUnspecified: false;
|
127
|
+
}];
|
128
|
+
readonly "consistent-this": "error";
|
129
|
+
readonly curly: readonly ["error", "multi"];
|
130
|
+
readonly "default-case": "off";
|
131
|
+
readonly "default-case-last": "error";
|
132
|
+
readonly "default-param-last": "error";
|
133
|
+
readonly "dot-notation": readonly ["error", {
|
134
|
+
readonly allowKeywords: true;
|
135
|
+
}];
|
136
|
+
readonly eqeqeq: readonly ["error", "always"];
|
137
|
+
readonly "func-name-matching": "off";
|
138
|
+
readonly "func-names": "off";
|
139
|
+
readonly "func-style": "off";
|
140
|
+
readonly "grouped-accessor-pairs": "off";
|
141
|
+
readonly "guard-for-in": "off";
|
142
|
+
readonly "id-denylist": "off";
|
143
|
+
readonly "id-length": "off";
|
144
|
+
readonly "id-match": "off";
|
145
|
+
readonly "init-declarations": readonly ["error", "always"];
|
146
|
+
readonly "logical-assignment-operators": readonly ["error", "always", {
|
147
|
+
readonly enforceForIfStatements: true;
|
148
|
+
}];
|
149
|
+
readonly "max-classes-per-file": "off";
|
150
|
+
readonly "max-depth": "off";
|
151
|
+
readonly "max-lines": "off";
|
152
|
+
readonly "max-lines-per-function": "off";
|
153
|
+
readonly "max-nested-callbacks": "off";
|
154
|
+
readonly "max-params": "off";
|
155
|
+
readonly "max-statements": "off";
|
156
|
+
readonly "multiline-comment-style": "off";
|
157
|
+
readonly "new-cap": "off";
|
158
|
+
readonly "no-alert": "error";
|
159
|
+
readonly "no-array-constructor": "error";
|
160
|
+
readonly "no-bitwise": readonly ["error", {
|
161
|
+
readonly allow: readonly [];
|
162
|
+
readonly int32Hint: true;
|
163
|
+
}];
|
164
|
+
readonly "no-caller": "error";
|
165
|
+
readonly "no-case-declarations": "error";
|
166
|
+
readonly "no-console": "off";
|
167
|
+
readonly "no-continue": "error";
|
168
|
+
readonly "no-delete-var": "error";
|
169
|
+
readonly "no-div-regex": "error";
|
170
|
+
readonly "no-else-return": "off";
|
171
|
+
readonly "no-empty": readonly ["error", {
|
172
|
+
readonly allowEmptyCatch: false;
|
173
|
+
}];
|
174
|
+
readonly "no-empty-function": readonly ["error", {
|
175
|
+
readonly allow: readonly ["constructors"];
|
176
|
+
}];
|
177
|
+
readonly "no-empty-static-block": "error";
|
178
|
+
readonly "no-eq-null": "error";
|
179
|
+
readonly "no-eval": readonly ["error", {
|
180
|
+
readonly allowIndirect: false;
|
181
|
+
}];
|
182
|
+
readonly "no-extend-native": readonly ["error", {
|
183
|
+
readonly exceptions: readonly [];
|
184
|
+
}];
|
185
|
+
readonly "no-extra-bind": "error";
|
186
|
+
readonly "no-extra-boolean-cast": readonly ["error", {
|
187
|
+
readonly enforceForLogicalOperands: true;
|
188
|
+
}];
|
189
|
+
readonly "no-extra-label": "error";
|
190
|
+
readonly "no-global-assign": readonly ["error", {
|
191
|
+
readonly exceptions: readonly [];
|
192
|
+
}];
|
193
|
+
readonly "no-implicit-coercion": readonly ["error", {
|
194
|
+
readonly boolean: true;
|
195
|
+
readonly number: true;
|
196
|
+
readonly string: true;
|
197
|
+
readonly disallowTemplateShorthand: true;
|
198
|
+
readonly allow: readonly [];
|
199
|
+
}];
|
200
|
+
readonly "no-implicit-globals": "off";
|
201
|
+
readonly "no-implied-eval": "error";
|
202
|
+
readonly "no-inline-comments": "off";
|
203
|
+
readonly "no-invalid-this": readonly ["error", {
|
204
|
+
readonly capIsConstructor: false;
|
205
|
+
}];
|
206
|
+
readonly "no-iterator": "error";
|
207
|
+
readonly "no-label-var": "error";
|
208
|
+
readonly "no-lone-blocks": "error";
|
209
|
+
readonly "no-lonely-if": "off";
|
210
|
+
readonly "no-loop-func": "error";
|
211
|
+
readonly "no-magic-numbers": "off";
|
212
|
+
readonly "no-multi-assign": readonly ["error", {
|
213
|
+
readonly ignoreNonDeclaration: false;
|
214
|
+
}];
|
215
|
+
readonly "no-multi-str": "error";
|
216
|
+
readonly "no-negated-condition": "off";
|
217
|
+
readonly "no-nested-ternary": "off";
|
218
|
+
readonly "no-new": "error";
|
219
|
+
readonly "no-new-func": "error";
|
220
|
+
readonly "no-new-wrappers": "error";
|
221
|
+
readonly "no-nonoctal-decimal-escape": "error";
|
222
|
+
readonly "no-object-constructor": "error";
|
223
|
+
readonly "no-octal": "error";
|
224
|
+
readonly "no-octal-escape": "error";
|
225
|
+
readonly "no-param-reassign": readonly ["error", {
|
226
|
+
readonly props: true;
|
227
|
+
readonly ignorePropertyModificationsFor: readonly [];
|
228
|
+
readonly ignorePropertyModificationsForRegex: readonly [];
|
229
|
+
}];
|
230
|
+
readonly "no-plusplus": readonly ["error", {
|
231
|
+
readonly allowForLoopAfterthoughts: true;
|
232
|
+
}];
|
233
|
+
readonly "no-proto": "error";
|
234
|
+
readonly "no-redeclare": readonly ["error", {
|
235
|
+
readonly builtinGlobals: true;
|
236
|
+
}];
|
237
|
+
readonly "no-regex-spaces": "off";
|
238
|
+
readonly "no-restricted-exports": "off";
|
239
|
+
readonly "no-restricted-globals": "off";
|
240
|
+
readonly "no-restricted-imports": "off";
|
241
|
+
readonly "no-restricted-properties": "off";
|
242
|
+
readonly "no-restricted-syntax": "off";
|
243
|
+
readonly "no-return-assign": readonly ["error", "always"];
|
244
|
+
readonly "no-script-url": "error";
|
245
|
+
readonly "no-sequences": readonly ["error", {
|
246
|
+
readonly allowInParentheses: true;
|
247
|
+
}];
|
248
|
+
readonly "no-shadow": "off";
|
249
|
+
readonly "no-shadow-restricted-names": "error";
|
250
|
+
readonly "no-ternary": "off";
|
251
|
+
readonly "no-throw-literal": "error";
|
252
|
+
readonly "no-undef-init": "error";
|
253
|
+
readonly "no-undefined": "off";
|
254
|
+
readonly "no-underscore-dangle": "off";
|
255
|
+
readonly "no-unneeded-ternary": readonly ["error", {
|
256
|
+
readonly defaultAssignment: false;
|
257
|
+
}];
|
258
|
+
readonly "no-unused-expressions": readonly ["error", {
|
259
|
+
readonly allowShortCircuit: true;
|
260
|
+
readonly allowTernary: true;
|
261
|
+
readonly allowTaggedTemplates: true;
|
262
|
+
readonly enforceForJSX: false;
|
263
|
+
}];
|
264
|
+
readonly "no-unused-labels": "error";
|
265
|
+
readonly "no-useless-call": "error";
|
266
|
+
readonly "no-useless-catch": "error";
|
267
|
+
readonly "no-useless-computed-key": readonly ["error", {
|
268
|
+
readonly enforceForClassMembers: true;
|
269
|
+
}];
|
270
|
+
readonly "no-useless-concat": "error";
|
271
|
+
readonly "no-useless-constructor": "error";
|
272
|
+
readonly "no-useless-escape": "error";
|
273
|
+
readonly "no-useless-rename": readonly ["error", {
|
274
|
+
readonly ignoreImport: false;
|
275
|
+
readonly ignoreExport: false;
|
276
|
+
readonly ignoreDestructuring: false;
|
277
|
+
}];
|
278
|
+
readonly "no-useless-return": "error";
|
279
|
+
readonly "no-var": "error";
|
280
|
+
readonly "no-void": readonly ["error", {
|
281
|
+
readonly allowAsStatement: true;
|
282
|
+
}];
|
283
|
+
readonly "no-warning-comments": "off";
|
284
|
+
readonly "no-with": "error";
|
285
|
+
readonly "object-shorthand": readonly ["error", "always", {
|
286
|
+
readonly avoidQuotes: true;
|
287
|
+
readonly ignoreConstructors: false;
|
288
|
+
readonly avoidExplicitReturnArrows: false;
|
289
|
+
}];
|
290
|
+
readonly "one-var": readonly ["error", {
|
291
|
+
readonly var: "consecutive";
|
292
|
+
readonly let: "consecutive";
|
293
|
+
readonly const: "consecutive";
|
294
|
+
readonly separateRequires: true;
|
295
|
+
}];
|
296
|
+
readonly "operator-assignment": readonly ["error", "always"];
|
297
|
+
readonly "prefer-arrow-callback": readonly ["error", {
|
298
|
+
readonly allowNamedFunctions: false;
|
299
|
+
readonly allowUnboundThis: true;
|
300
|
+
}];
|
301
|
+
readonly "prefer-const": readonly ["error", {
|
302
|
+
readonly destructuring: "all";
|
303
|
+
readonly ignoreReadBeforeAssign: false;
|
304
|
+
}];
|
305
|
+
readonly "prefer-destructuring": readonly ["error", {
|
306
|
+
readonly VariableDeclarator: {
|
307
|
+
readonly array: true;
|
308
|
+
readonly object: true;
|
309
|
+
};
|
310
|
+
readonly AssignmentExpression: {
|
311
|
+
readonly array: false;
|
312
|
+
readonly object: false;
|
313
|
+
};
|
314
|
+
}, {
|
315
|
+
readonly enforceForRenamedProperties: true;
|
316
|
+
}];
|
317
|
+
readonly "prefer-exponentiation-operator": "error";
|
318
|
+
readonly "prefer-named-capture-group": "off";
|
319
|
+
readonly "prefer-numeric-literals": "error";
|
320
|
+
readonly "prefer-object-has-own": "error";
|
321
|
+
readonly "prefer-object-spread": "error";
|
322
|
+
readonly "prefer-promise-reject-errors": readonly ["error", {
|
323
|
+
readonly allowEmptyReject: false;
|
324
|
+
}];
|
325
|
+
readonly "prefer-regex-literals": readonly ["error", {
|
326
|
+
readonly disallowRedundantWrapping: true;
|
327
|
+
}];
|
328
|
+
readonly "prefer-rest-params": "error";
|
329
|
+
readonly "prefer-spread": "error";
|
330
|
+
readonly "prefer-template": "error";
|
331
|
+
readonly radix: readonly ["error", "as-needed"];
|
332
|
+
readonly "require-await": "error";
|
333
|
+
readonly "require-unicode-regexp": "error";
|
334
|
+
readonly "require-yield": "error";
|
335
|
+
readonly "sort-imports": "off";
|
336
|
+
readonly "sort-keys": "off";
|
337
|
+
readonly "sort-vars": "off";
|
338
|
+
readonly strict: "off";
|
339
|
+
readonly "symbol-description": "off";
|
340
|
+
readonly "vars-on-top": "error";
|
341
|
+
readonly yoda: readonly ["error", "never", {
|
342
|
+
readonly exceptRange: false;
|
343
|
+
readonly onlyEquality: false;
|
344
|
+
}];
|
345
|
+
readonly "unicode-bom": "off";
|
346
|
+
}];
|
347
|
+
export default _default;
|
348
|
+
//# sourceMappingURL=enable.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/js/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,wBA4fW"}
|