linted 16.0.1 → 16.0.2-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/statics/rules/presets/entries/html/Enable.js +2 -2
- package/dist/statics/rules/presets/entries/html/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/html/Recommended.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/html/Recommended.js +2 -1
- package/dist/statics/rules/presets/entries/html/Recommended.js.map +1 -1
- package/dist/statics/rules/presets/entries/{entry.d.ts → index.d.ts} +3 -2
- package/dist/statics/rules/presets/entries/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/entries/index.js +2 -0
- package/dist/statics/rules/presets/entries/index.js.map +1 -0
- package/dist/statics/rules/presets/entries/js/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/js/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/js/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/js/EnableStylistic.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/js/EnableStylistic.js +3 -3
- package/dist/statics/rules/presets/entries/js/EnableStylistic.js.map +1 -1
- package/dist/statics/rules/presets/entries/json/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/json/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/json/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/json/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/json/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/json/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/jsonc/OverrideJson.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js +2 -3
- package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js.map +1 -1
- package/dist/statics/rules/presets/entries/md/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/md/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/md/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Enable.js +2 -1
- package/dist/statics/rules/presets/entries/mocha/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Recommended.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/mocha/Recommended.js +2 -1
- package/dist/statics/rules/presets/entries/mocha/Recommended.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableJS.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableJS.js +2 -1
- package/dist/statics/rules/presets/entries/svelte/DisableJS.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableTS.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableTS.js +2 -1
- package/dist/statics/rules/presets/entries/svelte/DisableTS.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/DisableX.js +2 -2
- package/dist/statics/rules/presets/entries/svelte/DisableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/svelte/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/svelte/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/svelte/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/DisableCompiler.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/ts/DisableCompiler.js +2 -1
- package/dist/statics/rules/presets/entries/ts/DisableCompiler.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/DisableX.js +2 -2
- package/dist/statics/rules/presets/entries/ts/DisableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/ts/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/ts/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/ts/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/ts/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/ts/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/entries/yml/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/yml/Enable.js +2 -3
- package/dist/statics/rules/presets/entries/yml/Enable.js.map +1 -1
- package/dist/statics/rules/presets/entries/yml/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/entries/yml/EnableX.js +2 -3
- package/dist/statics/rules/presets/entries/yml/EnableX.js.map +1 -1
- package/dist/statics/rules/strings/id/index.d.ts +3 -0
- package/dist/statics/rules/strings/id/index.d.ts.map +1 -0
- package/dist/statics/rules/strings/id/index.js +3 -0
- package/dist/statics/rules/strings/id/index.js.map +1 -0
- package/dist/statics/rules/strings/index.d.ts +7 -0
- package/dist/statics/rules/strings/index.d.ts.map +1 -0
- package/dist/statics/rules/strings/index.js +7 -0
- package/dist/statics/rules/strings/index.js.map +1 -0
- package/dist/statics/rules/{presets/entries/level.d.ts → strings/level/index.d.ts} +1 -1
- package/dist/statics/rules/strings/level/index.d.ts.map +1 -0
- package/dist/statics/rules/{presets/entries/level.js → strings/level/index.js} +1 -1
- package/dist/statics/rules/strings/level/index.js.map +1 -0
- package/dist/statics/rules/{presets/entries/state.d.ts → strings/state/index.d.ts} +1 -1
- package/dist/statics/rules/strings/state/index.d.ts.map +1 -0
- package/dist/statics/rules/{presets/entries/state.js → strings/state/index.js} +1 -1
- package/dist/statics/rules/strings/state/index.js.map +1 -0
- package/package.json +2 -2
- package/src/statics/rules/presets/Html.ts +1 -1
- package/src/statics/rules/presets/Js.ts +1 -1
- package/src/statics/rules/presets/Json.ts +1 -1
- package/src/statics/rules/presets/Jsonc.ts +1 -1
- package/src/statics/rules/presets/Md.ts +1 -1
- package/src/statics/rules/presets/Mocha.ts +1 -1
- package/src/statics/rules/presets/Svelte.ts +1 -1
- package/src/statics/rules/presets/Ts.ts +1 -1
- package/src/statics/rules/presets/Yml.ts +1 -1
- package/src/statics/rules/presets/entries/html/Enable.ts +3 -3
- package/src/statics/rules/presets/entries/html/Recommended.ts +3 -2
- package/src/statics/rules/presets/entries/{entry.ts → index.ts} +5 -1
- package/src/statics/rules/presets/entries/js/Enable.ts +16 -13
- package/src/statics/rules/presets/entries/js/EnableStylistic.ts +23 -19
- package/src/statics/rules/presets/entries/json/Enable.ts +3 -5
- package/src/statics/rules/presets/entries/json/EnableX.ts +14 -11
- package/src/statics/rules/presets/entries/jsonc/OverrideJson.ts +9 -6
- package/src/statics/rules/presets/entries/md/Enable.ts +3 -5
- package/src/statics/rules/presets/entries/mocha/Enable.ts +3 -2
- package/src/statics/rules/presets/entries/mocha/Recommended.ts +3 -2
- package/src/statics/rules/presets/entries/svelte/DisableJS.ts +3 -2
- package/src/statics/rules/presets/entries/svelte/DisableTS.ts +3 -2
- package/src/statics/rules/presets/entries/svelte/DisableX.ts +3 -3
- package/src/statics/rules/presets/entries/svelte/Enable.ts +12 -9
- package/src/statics/rules/presets/entries/svelte/EnableX.ts +10 -7
- package/src/statics/rules/presets/entries/ts/DisableCompiler.ts +3 -2
- package/src/statics/rules/presets/entries/ts/DisableX.ts +3 -3
- package/src/statics/rules/presets/entries/ts/Enable.ts +9 -6
- package/src/statics/rules/presets/entries/ts/EnableX.ts +10 -7
- package/src/statics/rules/presets/entries/yml/Enable.ts +11 -8
- package/src/statics/rules/presets/entries/yml/EnableX.ts +11 -8
- package/src/statics/rules/{presets/entries/id.ts → strings/id/index.ts} +2 -0
- package/src/statics/rules/strings/index.ts +6 -0
- package/dist/statics/rules/presets/entries/entry.d.ts.map +0 -1
- package/dist/statics/rules/presets/entries/entry.js +0 -2
- package/dist/statics/rules/presets/entries/entry.js.map +0 -1
- package/dist/statics/rules/presets/entries/id.d.ts +0 -3
- package/dist/statics/rules/presets/entries/id.d.ts.map +0 -1
- package/dist/statics/rules/presets/entries/id.js +0 -3
- package/dist/statics/rules/presets/entries/id.js.map +0 -1
- package/dist/statics/rules/presets/entries/level.d.ts.map +0 -1
- package/dist/statics/rules/presets/entries/level.js.map +0 -1
- package/dist/statics/rules/presets/entries/state.d.ts.map +0 -1
- package/dist/statics/rules/presets/entries/state.js.map +0 -1
- /package/src/statics/rules/{presets/entries/level.ts → strings/level/index.ts} +0 -0
- /package/src/statics/rules/{presets/entries/state.ts → strings/state/index.ts} +0 -0
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
import { Enable } from "../id.js";
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE, }, } = Strings;
|
4
3
|
export default [
|
5
4
|
Enable,
|
6
5
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/yml/Enable.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/yml/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAGE,2CAA2C,EAAE;YAC3C,KAAK;YACL,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,KAAK;YACL,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE;YAClB,KAAK;YACL,MAAM;SACP;QACD,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CAC2B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/yml/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/yml/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAiE+B"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
import { EnableX } from "../id.js";
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { EnableX }, Level: { ERROR }, State: { NEVER, ALWAYS, STRICT, }, } = Strings;
|
4
3
|
export default [
|
5
4
|
EnableX,
|
6
5
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/yml/EnableX.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/yml/EnableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,OAAO,EAAE,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,EAChB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,OAAO;IACP;QAGE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;gBAChB,UAAU,EAAE,KAAK;aAClB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,MAAM;SACP;KACF;CAC2B,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const Disable = "disable", DisableX = "disable-extend", EnableX = "enable-extend", Enable = "enable", Override = "override", Stylistic = "stylistic", Recommended = "recommended";
|
2
|
+
export { Disable, DisableX, EnableX, Enable, Override, Stylistic, Recommended, };
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/strings/id/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,OAAO,YAAY,EACzB,QAAQ,mBAAmB,EAC3B,OAAO,kBAAkB,EACzB,MAAM,WAAW,EACjB,QAAQ,aAAa,EACrB,SAAS,cAAc,EACvB,WAAW,gBAAgB,CAAC;AAE5B,OAAO,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,GACZ,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
const Disable = "disable", DisableX = "disable-extend", EnableX = "enable-extend", Enable = "enable", Override = "override", Stylistic = "stylistic", Recommended = "recommended";
|
2
|
+
export { Disable, DisableX, EnableX, Enable, Override, Stylistic, Recommended, };
|
3
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/statics/rules/strings/id/index.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,SAAS,EACzB,QAAQ,GAAG,gBAAgB,EAC3B,OAAO,GAAG,eAAe,EACzB,MAAM,GAAG,QAAQ,EACjB,QAAQ,GAAG,UAAU,EACrB,SAAS,GAAG,WAAW,EACvB,WAAW,GAAG,aAAa,CAAC;AAE5B,OAAO,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,GACZ,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from "./id/index.js";
|
2
|
+
export * from "./level/index.js";
|
3
|
+
export * from "./state/index.js";
|
4
|
+
export * as Id from "./id/index.js";
|
5
|
+
export * as State from "./state/index.js";
|
6
|
+
export * as Level from "./level/index.js";
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/statics/rules/strings/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/statics/rules/strings/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/strings/level/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK,UAAU,EACrB,IAAI,SAAS,EACb,GAAG,QAAQ,CAAC;AAEZ,OAAO,EACL,KAAK,EACL,IAAI,EACJ,GAAG,GACJ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/statics/rules/strings/level/index.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,OAAO,EACrB,IAAI,GAAG,MAAM,EACb,GAAG,GAAG,KAAK,CAAC;AAEZ,OAAO,EACL,KAAK,EACL,IAAI,EACJ,GAAG,GACJ,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
declare const NEVER = "never", ALWAYS = "always", ALWAYS_MULTILINE = "always-multiline", MULTILINE = "multiline", CONSISTENT = "consistent", CONSECUTIVE = "consecutive", AS_NEEDED = "as-needed", ALLOW = "allow", STRICT = "strict", ANY = "any", ALL = "all", STAR = "*", FIRST = "first", LAST = "last", BEFORE = "before", AFTER = "after", ABOVE = "above", BELOW = "below", BESIDE = "beside", INSIDE = "inside", OUTSIDE = "outside", SINGLE = "single", DOUBLE = "double", MULTI = "multi", BOTH = "both";
|
2
2
|
export { NEVER, ALWAYS, ALWAYS_MULTILINE, MULTILINE, CONSISTENT, CONSECUTIVE, AS_NEEDED, ALLOW, STRICT, ANY, ALL, STAR, FIRST, LAST, BEFORE, AFTER, ABOVE, BELOW, BESIDE, INSIDE, OUTSIDE, SINGLE, DOUBLE, MULTI, BOTH, };
|
3
|
-
//# sourceMappingURL=
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/strings/state/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK,UAAU,EACrB,MAAM,WAAW,EACjB,gBAAgB,qBAAqB,EACrC,SAAS,cAAc,EACvB,UAAU,eAAe,EACzB,WAAW,gBAAgB,EAC3B,SAAS,cAAc,EACvB,KAAK,UAAU,EACf,MAAM,WAAW,EACjB,GAAG,QAAQ,EACX,GAAG,QAAQ,EACX,IAAI,MAAM,EACV,KAAK,UAAU,EACf,IAAI,SAAS,EACb,MAAM,WAAW,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,UAAU,EACf,MAAM,WAAW,EACjB,MAAM,WAAW,EACjB,OAAO,YAAY,EACnB,MAAM,WAAW,EACjB,MAAM,WAAW,EACjB,KAAK,UAAU,EACf,IAAI,SAAS,CAAC;AAEd,OAAO,EACL,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,WAAW,EACX,SAAS,EACT,KAAK,EACL,MAAM,EACN,GAAG,EACH,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,GACL,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
const NEVER = "never", ALWAYS = "always", ALWAYS_MULTILINE = "always-multiline", MULTILINE = "multiline", CONSISTENT = "consistent", CONSECUTIVE = "consecutive", AS_NEEDED = "as-needed", ALLOW = "allow", STRICT = "strict", ANY = "any", ALL = "all", STAR = "*", FIRST = "first", LAST = "last", BEFORE = "before", AFTER = "after", ABOVE = "above", BELOW = "below", BESIDE = "beside", INSIDE = "inside", OUTSIDE = "outside", SINGLE = "single", DOUBLE = "double", MULTI = "multi", BOTH = "both";
|
2
2
|
export { NEVER, ALWAYS, ALWAYS_MULTILINE, MULTILINE, CONSISTENT, CONSECUTIVE, AS_NEEDED, ALLOW, STRICT, ANY, ALL, STAR, FIRST, LAST, BEFORE, AFTER, ABOVE, BELOW, BESIDE, INSIDE, OUTSIDE, SINGLE, DOUBLE, MULTI, BOTH, };
|
3
|
-
//# sourceMappingURL=
|
3
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/statics/rules/strings/state/index.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,OAAO,EACrB,MAAM,GAAG,QAAQ,EACjB,gBAAgB,GAAG,kBAAkB,EACrC,SAAS,GAAG,WAAW,EACvB,UAAU,GAAG,YAAY,EACzB,WAAW,GAAG,aAAa,EAC3B,SAAS,GAAG,WAAW,EACvB,KAAK,GAAG,OAAO,EACf,MAAM,GAAG,QAAQ,EACjB,GAAG,GAAG,KAAK,EACX,GAAG,GAAG,KAAK,EACX,IAAI,GAAG,GAAG,EACV,KAAK,GAAG,OAAO,EACf,IAAI,GAAG,MAAM,EACb,MAAM,GAAG,QAAQ,EACjB,KAAK,GAAG,OAAO,EACf,KAAK,GAAG,OAAO,EACf,KAAK,GAAG,OAAO,EACf,MAAM,GAAG,QAAQ,EACjB,MAAM,GAAG,QAAQ,EACjB,OAAO,GAAG,SAAS,EACnB,MAAM,GAAG,QAAQ,EACjB,MAAM,GAAG,QAAQ,EACjB,KAAK,GAAG,OAAO,EACf,IAAI,GAAG,MAAM,CAAC;AAEd,OAAO,EACL,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,WAAW,EACX,SAAS,EACT,KAAK,EACL,MAAM,EACN,GAAG,EACH,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,GACL,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "20.14.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "16.0.1",
|
4
|
+
"version": "16.0.2-rc.1",
|
5
5
|
"description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
72
|
"eslint": "~9.8.0",
|
73
|
-
"linted": "~16.0.
|
73
|
+
"linted": "~16.0.2-rc.0",
|
74
74
|
"npm-run-all": "^4.1.5",
|
75
75
|
"typescript": "^5.5.4"
|
76
76
|
},
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import html from "@html-eslint/eslint-plugin";
|
2
|
-
import type RuleEntry from "../
|
3
|
-
|
2
|
+
import { Strings, type RuleEntry } from "../index.js";
|
3
|
+
|
4
|
+
const { Id: { Recommended } } = Strings;
|
4
5
|
|
5
6
|
export default [
|
6
7
|
Recommended,
|
@@ -1,16 +1,19 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { Enable },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
AS_NEEDED,
|
10
|
+
CONSECUTIVE,
|
11
|
+
ALLOW,
|
12
|
+
ALL,
|
13
|
+
MULTI,
|
14
|
+
BOTH,
|
15
|
+
},
|
16
|
+
} = Strings;
|
14
17
|
|
15
18
|
export default [
|
16
19
|
Enable,
|
@@ -1,24 +1,28 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { Stylistic },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
ALWAYS_MULTILINE,
|
10
|
+
AS_NEEDED,
|
11
|
+
STRICT,
|
12
|
+
ALL,
|
13
|
+
STAR,
|
14
|
+
LAST,
|
15
|
+
BEFORE,
|
16
|
+
AFTER,
|
17
|
+
BELOW,
|
18
|
+
BESIDE,
|
19
|
+
INSIDE,
|
20
|
+
DOUBLE,
|
21
|
+
},
|
22
|
+
} = Strings;
|
19
23
|
|
20
24
|
export default [
|
21
|
-
|
25
|
+
Stylistic,
|
22
26
|
{
|
23
27
|
|
24
28
|
// https://eslint.style/rules
|
@@ -1,8 +1,6 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
} from "../state.js";
|
5
|
-
import { Enable } from "../id.js";
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { Enable }, Level: { ERROR, OFF } } = Strings;
|
6
4
|
|
7
5
|
export default [
|
8
6
|
Enable,
|
@@ -1,14 +1,17 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { EnableX },
|
5
|
+
Level: { ERROR },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
CONSISTENT,
|
10
|
+
STRICT,
|
11
|
+
LAST,
|
12
|
+
DOUBLE,
|
13
|
+
},
|
14
|
+
} = Strings;
|
12
15
|
|
13
16
|
export default [
|
14
17
|
EnableX,
|
@@ -1,9 +1,12 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { Override },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
ALWAYS_MULTILINE,
|
8
|
+
},
|
9
|
+
} = Strings;
|
7
10
|
|
8
11
|
export default [
|
9
12
|
Override,
|
@@ -1,8 +1,6 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
} from "../state.js";
|
5
|
-
import { Enable } from "../id.js";
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { Enable }, Level: { ERROR, OFF } } = Strings;
|
6
4
|
|
7
5
|
export default [
|
8
6
|
Enable,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import mocha from "eslint-plugin-mocha";
|
2
|
-
import type RuleEntry from "../
|
3
|
-
|
2
|
+
import { Strings, type RuleEntry } from "../index.js";
|
3
|
+
|
4
|
+
const { Id: { Recommended } } = Strings;
|
4
5
|
|
5
6
|
export default [
|
6
7
|
Recommended,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { DisableX }, Level: { OFF } } = Strings;
|
4
4
|
|
5
5
|
export default [
|
6
6
|
DisableX,
|
@@ -1,12 +1,15 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { Enable },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
BELOW,
|
10
|
+
DOUBLE,
|
11
|
+
},
|
12
|
+
} = Strings;
|
10
13
|
|
11
14
|
export default [
|
12
15
|
Enable,
|
@@ -1,10 +1,13 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { EnableX },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
ALLOW,
|
8
|
+
BOTH,
|
9
|
+
},
|
10
|
+
} = Strings;
|
8
11
|
|
9
12
|
export default [
|
10
13
|
EnableX,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const { Id: { DisableX }, Level: { OFF } } = Strings;
|
4
4
|
|
5
5
|
export default [
|
6
6
|
DisableX,
|
@@ -1,9 +1,12 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { Enable },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
},
|
9
|
+
} = Strings;
|
7
10
|
|
8
11
|
export default [
|
9
12
|
Enable,
|
@@ -1,10 +1,13 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { EnableX },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
ALWAYS,
|
8
|
+
ALL,
|
9
|
+
},
|
10
|
+
} = Strings;
|
8
11
|
|
9
12
|
export default [
|
10
13
|
EnableX,
|
@@ -1,11 +1,14 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { Enable },
|
5
|
+
Level: { ERROR, OFF },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
DOUBLE,
|
10
|
+
},
|
11
|
+
} = Strings;
|
9
12
|
|
10
13
|
export default [
|
11
14
|
Enable,
|
@@ -1,11 +1,14 @@
|
|
1
|
-
import type RuleEntry from "../
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
import { Strings, type RuleEntry } from "../index.js";
|
2
|
+
|
3
|
+
const {
|
4
|
+
Id: { EnableX },
|
5
|
+
Level: { ERROR },
|
6
|
+
State: {
|
7
|
+
NEVER,
|
8
|
+
ALWAYS,
|
9
|
+
STRICT,
|
10
|
+
},
|
11
|
+
} = Strings;
|
9
12
|
|
10
13
|
export default [
|
11
14
|
EnableX,
|