linted 16.0.4 → 16.0.5-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/statics/rules/presets/Html.js +2 -2
- package/dist/statics/rules/presets/Html.js.map +1 -1
- package/dist/statics/rules/presets/Js.js +2 -2
- package/dist/statics/rules/presets/Js.js.map +1 -1
- package/dist/statics/rules/presets/Json.js +2 -2
- package/dist/statics/rules/presets/Json.js.map +1 -1
- package/dist/statics/rules/presets/Jsonc.js +1 -1
- package/dist/statics/rules/presets/Jsonc.js.map +1 -1
- package/dist/statics/rules/presets/Md.js +1 -1
- package/dist/statics/rules/presets/Md.js.map +1 -1
- package/dist/statics/rules/presets/Mocha.js +2 -2
- package/dist/statics/rules/presets/Mocha.js.map +1 -1
- package/dist/statics/rules/presets/Svelte.js +5 -5
- package/dist/statics/rules/presets/Svelte.js.map +1 -1
- package/dist/statics/rules/presets/Ts.js +4 -4
- package/dist/statics/rules/presets/Ts.js.map +1 -1
- package/dist/statics/rules/presets/Yml.js +2 -2
- package/dist/statics/rules/presets/Yml.js.map +1 -1
- package/dist/statics/rules/presets/html/Enable.d.ts +5 -0
- package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Enable.js +7 -0
- package/dist/statics/rules/presets/html/Enable.js.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.js +8 -0
- package/dist/statics/rules/presets/html/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/index.d.ts +8 -0
- package/dist/statics/rules/presets/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/index.js +2 -0
- package/dist/statics/rules/presets/index.js.map +1 -0
- package/dist/statics/rules/presets/js/Enable.d.ts +348 -0
- package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/Enable.js +463 -0
- package/dist/statics/rules/presets/js/Enable.js.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +414 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js +664 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -0
- package/dist/statics/rules/presets/json/Enable.d.ts +27 -0
- package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/Enable.js +31 -0
- package/dist/statics/rules/presets/json/Enable.js.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts +50 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.js +92 -0
- package/dist/statics/rules/presets/json/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts +6 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js +13 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -0
- package/dist/statics/rules/presets/md/Enable.d.ts +38 -0
- package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/md/Enable.js +58 -0
- package/dist/statics/rules/presets/md/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.js +7 -0
- package/dist/statics/rules/presets/mocha/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.js +8 -0
- package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts +5 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.js +9 -0
- package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts +126 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.js +179 -0
- package/dist/statics/rules/presets/svelte/Enable.js.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts +8 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.js +14 -0
- package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts +18 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js +22 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts +28 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.js +32 -0
- package/dist/statics/rules/presets/ts/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts +262 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.js +496 -0
- package/dist/statics/rules/presets/ts/Enable.js.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts +72 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.js +107 -0
- package/dist/statics/rules/presets/ts/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts +39 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.js +69 -0
- package/dist/statics/rules/presets/yml/Enable.js.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts +37 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.js +67 -0
- package/dist/statics/rules/presets/yml/EnableX.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -8
- package/src/statics/rules/presets/Html.ts +3 -3
- package/src/statics/rules/presets/Js.ts +3 -3
- package/src/statics/rules/presets/Json.ts +3 -3
- package/src/statics/rules/presets/Jsonc.ts +2 -2
- package/src/statics/rules/presets/Md.ts +2 -2
- package/src/statics/rules/presets/Mocha.ts +3 -3
- package/src/statics/rules/presets/Svelte.ts +6 -6
- package/src/statics/rules/presets/Ts.ts +5 -5
- package/src/statics/rules/presets/Yml.ts +3 -3
- package/src/statics/rules/presets/{entries/index.ts → index.ts} +1 -1
- /package/src/statics/rules/presets/{entries/html → html}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/html → html}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/EnableStylistic.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/jsonc → jsonc}/OverrideJson.ts +0 -0
- /package/src/statics/rules/presets/{entries/md → md}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableJS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableTS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableCompiler.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/EnableX.ts +0 -0
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAIrD,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,QAAa,EAC5C,SAAS,GAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,SAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAIrD,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,QAAa,EAC5C,SAAS,GAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,SAAc,qBAgB/C"}
|
package/dist/index.js
CHANGED
@@ -3,13 +3,7 @@ import { plugins, parsers } from "./imports/index.js";
|
|
3
3
|
import { base, preset } from "./statics/index.js";
|
4
4
|
export default function (includes = {}, overrides = {}) {
|
5
5
|
try {
|
6
|
-
return core(plugins, parsers, {
|
7
|
-
base,
|
8
|
-
includes,
|
9
|
-
}, {
|
10
|
-
preset,
|
11
|
-
overrides,
|
12
|
-
});
|
6
|
+
return core(plugins, parsers, { base, includes }, { preset, overrides });
|
13
7
|
}
|
14
8
|
catch (e) {
|
15
9
|
throw new Error(`linted(): Caught exception.`, { cause: e });
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAiB,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,OAAO,WACZ,WAA0C,EAAE,EAC5C,YAA4C,EAAE;IAE9C,IAAI,CAAC;QACH,OAAO,IAAI,CACT,OAAO,EACP,OAAO,EACP
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAiB,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,OAAO,WACZ,WAA0C,EAAE,EAC5C,YAA4C,EAAE;IAE9C,IAAI,CAAC;QACH,OAAO,IAAI,CACT,OAAO,EACP,OAAO,EACP,EAAE,IAAI,EAAE,QAAQ,EAAE,EAClB,EAAE,MAAM,EAAE,SAAS,EAAE,CACtB,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,6BAA6B,EAC7B,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Html.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Html.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM
|
1
|
+
{"version":3,"file":"Html.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Html.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe;IACb,WAAW;IACX,MAAM;CACiC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Js.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Js.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,
|
1
|
+
{"version":3,"file":"Js.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Js.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe;IACb,eAAe;IACf,MAAM;CACiC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Json.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Json.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,
|
1
|
+
{"version":3,"file":"Json.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Json.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe;IACb,OAAO;IACP,MAAM;CACiC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Jsonc.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Jsonc.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,YAAY,MAAM,
|
1
|
+
{"version":3,"file":"Jsonc.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Jsonc.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,eAAe;IACb,GAAG,IAAI;IACP,YAAY;CAC2B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Md.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Md.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"Md.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Md.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe,CAAC,MAAM,CAAyC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Mocha.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Mocha.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,
|
1
|
+
{"version":3,"file":"Mocha.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Mocha.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe;IACb,WAAW;IACX,MAAM;CACiC,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import TsRuleset from "./Ts.js";
|
2
|
-
import DisableJS from "./
|
3
|
-
import DisableTS from "./
|
4
|
-
import DisableX from "./
|
5
|
-
import EnableX from "./
|
6
|
-
import Enable from "./
|
2
|
+
import DisableJS from "./svelte/DisableJS.js";
|
3
|
+
import DisableTS from "./svelte/DisableTS.js";
|
4
|
+
import DisableX from "./svelte/DisableX.js";
|
5
|
+
import EnableX from "./svelte/EnableX.js";
|
6
|
+
import Enable from "./svelte/Enable.js";
|
7
7
|
export default [
|
8
8
|
...TsRuleset,
|
9
9
|
DisableJS,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Svelte.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Svelte.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,SAAS,CAAC;AAChC,OAAO,SAAS,MAAM
|
1
|
+
{"version":3,"file":"Svelte.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Svelte.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,SAAS,CAAC;AAChC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,eAAe;IACb,GAAG,SAAS;IACZ,SAAS;IACT,SAAS;IACT,QAAQ;IACR,OAAO;IACP,MAAM;CACiC,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import Js from "./Js.js";
|
2
|
-
import DisableCompiler from "./
|
3
|
-
import DisableX from "./
|
4
|
-
import EnableX from "./
|
5
|
-
import Enable from "./
|
2
|
+
import DisableCompiler from "./ts/DisableCompiler.js";
|
3
|
+
import DisableX from "./ts/DisableX.js";
|
4
|
+
import EnableX from "./ts/EnableX.js";
|
5
|
+
import Enable from "./ts/Enable.js";
|
6
6
|
export default [
|
7
7
|
...Js,
|
8
8
|
DisableCompiler,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Ts.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Ts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,eAAe,MAAM,
|
1
|
+
{"version":3,"file":"Ts.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Ts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,OAAO,MAAM,iBAAiB,CAAC;AACtC,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe;IACb,GAAG,EAAE;IACL,eAAe;IACf,QAAQ;IACR,OAAO;IACP,MAAM;CACiC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Yml.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Yml.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,
|
1
|
+
{"version":3,"file":"Yml.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/Yml.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,kBAAkB,CAAC;AACvC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,eAAe;IACb,OAAO;IACP,MAAM;CACiC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/html/Enable.ts"],"names":[],"mappings":";;;AAIA,wBAG+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/html/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAEnD,eAAe;IACb,MAAM;IACN,EAAE,4BAA4B,EAAE,GAAG,EAAE;CACT,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const _default: readonly ["recommended", Readonly<Record<string, import("@eslinted/core/dist/boundary/input/rules/preset/entry/object/state/level.js").default | readonly [import("@eslinted/core/dist/boundary/input/rules/preset/entry/object/state/level.js").default, ...unknown[]]>>];
|
2
|
+
export default _default;
|
3
|
+
//# sourceMappingURL=Recommended.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Recommended.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/html/Recommended.ts"],"names":[],"mappings":";AAKA,wBAG+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Recommended.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/html/Recommended.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,GAAG,OAAO,CAAC;AAExC,eAAe;IACb,WAAW;IACV,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAuC,CAAC,KAAK;CACjD,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
type RuleEntry = Boundary.Input.Rules.Preset.Entry;
|
3
|
+
declare namespace RuleEntry {
|
4
|
+
type Object = Boundary.Input.Rules.Preset.Entry.Object;
|
5
|
+
}
|
6
|
+
export type { RuleEntry as default, RuleEntry, };
|
7
|
+
export * as Strings from "../strings/index.js";
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/statics/rules/presets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,KAAK,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAEnD,kBAAU,SAAS,CAAC;IAClB,KAAY,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;CAC/D;AAED,YAAY,EACV,SAAS,IAAI,OAAO,EACpB,SAAS,GACV,CAAC;AACF,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/index.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,OAAO,MAAM,qBAAqB,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/statics/rules/presets/js/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,wBA0d+B"}
|