linted 16.12.2-rc.1 → 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.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.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.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.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.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.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.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.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.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/html/_enable.d.ts +8 -0
- package/dist/rules/html/_enable.d.ts.map +1 -0
- package/dist/rules/html/_enable.js +10 -0
- package/dist/rules/html/_enable.js.map +1 -0
- package/dist/rules/html/_recommended.d.ts +3 -0
- package/dist/rules/html/_recommended.d.ts.map +1 -0
- package/dist/rules/html/_recommended.js +5 -0
- package/dist/rules/html/_recommended.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 +260 -0
- package/dist/rules/js/_enable.js.map +1 -0
- package/dist/rules/js/stylistic.d.ts +420 -0
- package/dist/rules/js/stylistic.d.ts.map +1 -0
- package/dist/rules/js/stylistic.js +270 -0
- package/dist/rules/js/stylistic.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/md/_enable.d.ts +7 -0
- package/dist/rules/md/_enable.d.ts.map +1 -0
- package/dist/rules/md/_enable.js +9 -0
- package/dist/rules/md/_enable.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 +4 -0
- package/dist/rules/mocha/_enable.js.map +1 -0
- package/dist/rules/mocha/_recommended.d.ts +3 -0
- package/dist/rules/mocha/_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/_recommended.js +5 -0
- package/dist/rules/mocha/_recommended.js.map +1 -0
- 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 +90 -0
- package/dist/rules/svelte/_enable.js.map +1 -0
- package/dist/rules/svelte/disable_x.d.ts +5 -0
- package/dist/rules/svelte/disable_x.d.ts.map +1 -0
- package/dist/rules/svelte/disable_x.js +4 -0
- package/dist/rules/svelte/disable_x.js.map +1 -0
- 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 +359 -0
- package/dist/rules/ts/_enable.js.map +1 -0
- package/dist/rules/ts/disable_compiler.d.ts +18 -0
- package/dist/rules/ts/disable_compiler.d.ts.map +1 -0
- package/dist/rules/ts/disable_compiler.js +22 -0
- package/dist/rules/ts/disable_compiler.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 +28 -0
- package/dist/rules/yml/_enable.js.map +1 -0
- 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 -16
- package/src/rules/html/enable_recommended.ts +9 -9
- package/src/rules/html.ts +4 -4
- package/src/rules/js/enable.ts +524 -524
- package/src/rules/js/enable_stylistic.ts +608 -608
- package/src/rules/js.ts +4 -4
- package/src/rules/json/enable.ts +33 -33
- package/src/rules/json/enable_x.ts +89 -89
- package/src/rules/json.ts +4 -4
- package/src/rules/jsonc/override.ts +16 -16
- package/src/rules/jsonc.ts +4 -4
- package/src/rules/md/enable.ts +15 -15
- package/src/rules/md.ts +3 -3
- package/src/rules/mocha/enable.ts +3 -3
- package/src/rules/mocha/enable_recommended.ts +9 -9
- package/src/rules/mocha.ts +4 -4
- package/src/rules/svelte/disable.ts +9 -9
- package/src/rules/svelte/disable_js.ts +11 -11
- package/src/rules/svelte/disable_ts.ts +9 -9
- package/src/rules/svelte/enable.ts +228 -228
- package/src/rules/svelte/enable_x.ts +20 -20
- package/src/rules/svelte.ts +15 -15
- package/src/rules/ts/disable.ts +22 -22
- package/src/rules/ts/disable_x.ts +32 -32
- package/src/rules/ts/enable.ts +549 -549
- package/src/rules/ts/enable_x.ts +115 -115
- package/src/rules/ts.ts +13 -13
- package/src/rules/yml/enable.ts +64 -64
- package/src/rules/yml/enable_x.ts +68 -68
- package/src/rules/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
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_ts.d.ts","sourceRoot":"","sources":["../../src/rules/_ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAMW"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Js from "./_js.js";
|
2
|
+
import DisableCompiler from "./ts/disable_compiler.js";
|
3
|
+
import DisableX from "./ts/disable_x.js";
|
4
|
+
import EnableX from "./ts/enable_x.js";
|
5
|
+
import Enable from "./ts/_enable.js";
|
6
|
+
export default [
|
7
|
+
...Js,
|
8
|
+
DisableCompiler,
|
9
|
+
DisableX,
|
10
|
+
EnableX,
|
11
|
+
Enable,
|
12
|
+
];
|
13
|
+
//# sourceMappingURL=_ts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_ts.js","sourceRoot":"","sources":["../../src/rules/_ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,eAAe,MAAM,0BAA0B,CAAC;AACvD,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,OAAO,MAAM,kBAAkB,CAAC;AACvC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,eAAe;IACb,GAAG,EAAE;IACL,eAAe;IACf,QAAQ;IACR,OAAO;IACP,MAAM;CACE,CAAC"}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
declare const _default: readonly [readonly ["enable-extend", {
|
2
|
+
readonly "yml/flow-mapping-curly-newline": readonly ["error", {
|
3
|
+
readonly consistent: false;
|
4
|
+
readonly multiline: true;
|
5
|
+
readonly minProperties: 2;
|
6
|
+
}];
|
7
|
+
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
|
8
|
+
readonly arraysInObjects: true;
|
9
|
+
readonly objectsInObjects: true;
|
10
|
+
}];
|
11
|
+
readonly "yml/flow-sequence-bracket-newline": readonly ["error", {
|
12
|
+
readonly multiline: true;
|
13
|
+
readonly minItems: null;
|
14
|
+
}];
|
15
|
+
readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
|
16
|
+
readonly singleValue: false;
|
17
|
+
readonly objectsInArrays: false;
|
18
|
+
readonly arraysInArrays: false;
|
19
|
+
}];
|
20
|
+
readonly "yml/key-spacing": readonly ["error", {
|
21
|
+
readonly beforeColon: false;
|
22
|
+
readonly afterColon: true;
|
23
|
+
readonly mode: "strict";
|
24
|
+
}];
|
25
|
+
readonly "yml/no-irregular-whitespace": readonly ["error", {
|
26
|
+
readonly skipQuotedScalars: true;
|
27
|
+
readonly skipComments: false;
|
28
|
+
}];
|
29
|
+
readonly "yml/no-multiple-empty-lines": readonly ["error", {
|
30
|
+
readonly max: 1;
|
31
|
+
readonly maxEOF: 1;
|
32
|
+
readonly maxBOF: 0;
|
33
|
+
}];
|
34
|
+
readonly "yml/spaced-comment": readonly ["error", "always"];
|
35
|
+
}], readonly ["enable", {
|
36
|
+
readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
|
37
|
+
readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
|
38
|
+
readonly "yml/block-mapping": readonly ["error", {
|
39
|
+
readonly singleline: "never";
|
40
|
+
readonly multiline: "always";
|
41
|
+
}];
|
42
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
|
43
|
+
readonly nestedHyphen: "always";
|
44
|
+
readonly blockMapping: "never";
|
45
|
+
}];
|
46
|
+
readonly "yml/block-sequence": readonly ["error", {
|
47
|
+
readonly singleline: "always";
|
48
|
+
readonly multiline: "always";
|
49
|
+
}];
|
50
|
+
readonly "yml/file-extension": "off";
|
51
|
+
readonly "yml/indent": readonly ["error", 2, {
|
52
|
+
readonly indentBlockSequences: true;
|
53
|
+
readonly indicatorValueIndent: 2;
|
54
|
+
}];
|
55
|
+
readonly "yml/key-name-casing": "off";
|
56
|
+
readonly "yml/no-empty-document": "error";
|
57
|
+
readonly "yml/no-empty-key": "error";
|
58
|
+
readonly "yml/no-empty-mapping-value": "error";
|
59
|
+
readonly "yml/no-empty-sequence-entry": "error";
|
60
|
+
readonly "yml/no-tab-indent": "error";
|
61
|
+
readonly "yml/no-trailing-zeros": "error";
|
62
|
+
readonly "yml/plain-scalar": readonly ["error", "always"];
|
63
|
+
readonly "yml/quotes": readonly ["error", {
|
64
|
+
readonly prefer: "double";
|
65
|
+
readonly avoidEscape: true;
|
66
|
+
}];
|
67
|
+
readonly "yml/require-string-key": "error";
|
68
|
+
readonly "yml/sort-keys": "off";
|
69
|
+
readonly "yml/sort-sequence-values": "off";
|
70
|
+
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
71
|
+
}]];
|
72
|
+
export default _default;
|
73
|
+
//# sourceMappingURL=_yml.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_yml.d.ts","sourceRoot":"","sources":["../../src/rules/_yml.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAA0C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_yml.js","sourceRoot":"","sources":["../../src/rules/_yml.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAU,CAAC"}
|
@@ -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":";;;;;;AAMA,wBAMW"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { id, level } from "../_strings.js";
|
2
|
+
const { enable } = id, { ERROR, OFF } = level;
|
3
|
+
export default [
|
4
|
+
enable,
|
5
|
+
{
|
6
|
+
"@html-eslint/require-title": OFF,
|
7
|
+
"@html-eslint/element-newline": [ERROR, { skip: ["head"] }],
|
8
|
+
},
|
9
|
+
];
|
10
|
+
//# 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,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEvB,eAAe;IACb,MAAM;IACN;QACE,4BAA4B,EAAE,GAAG;QACjC,8BAA8B,EAAE,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;KAC5D;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_recommended.d.ts","sourceRoot":"","sources":["../../../src/rules/html/_recommended.ts"],"names":[],"mappings":";AAMA,wBAA0H"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_recommended.js","sourceRoot":"","sources":["../../../src/rules/html/_recommended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAE9C,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC;AAG3B,eAAe,CAAC,WAAW,EAAG,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAA4C,CAAC,KAAK,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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,wBA8QW"}
|