@eslinted/core 14.2.14 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/output/index.d.ts +2 -2
- package/dist/interface/output/index.d.ts.map +1 -1
- package/dist/interface/output/scoped/index.d.ts.map +1 -0
- package/dist/interface/output/scoped/index.js.map +1 -0
- package/dist/interface/output/scoped/rules.d.ts +3 -0
- package/dist/interface/output/scoped/rules.d.ts.map +1 -0
- package/dist/interface/output/scoped/rules.js.map +1 -0
- package/dist/interface/output/scoped/settings.d.ts +5 -0
- package/dist/interface/output/scoped/settings.d.ts.map +1 -0
- package/dist/interface/output/scoped/settings.js.map +1 -0
- package/package.json +1 -1
- package/src/interface/output/index.ts +4 -4
- package/src/interface/output/scoped/rules.ts +12 -0
- package/src/interface/output/{scope → scoped}/settings.ts +2 -2
- package/dist/interface/output/scope/index.d.ts.map +0 -1
- package/dist/interface/output/scope/index.js.map +0 -1
- package/dist/interface/output/scope/rules.d.ts +0 -3
- package/dist/interface/output/scope/rules.d.ts.map +0 -1
- package/dist/interface/output/scope/rules.js.map +0 -1
- package/dist/interface/output/scope/settings.d.ts +0 -5
- package/dist/interface/output/scope/settings.d.ts.map +0 -1
- package/dist/interface/output/scope/settings.js.map +0 -1
- package/src/interface/output/scope/rules.ts +0 -12
- /package/dist/interface/output/{scope → scoped}/index.d.ts +0 -0
- /package/dist/interface/output/{scope → scoped}/index.js +0 -0
- /package/dist/interface/output/{scope → scoped}/rules.js +0 -0
- /package/dist/interface/output/{scope → scoped}/settings.js +0 -0
- /package/src/interface/output/{scope → scoped}/index.ts +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { CommonPlugins, CommonSettings, CommonIgnores } from "./common/index.js";
|
2
|
-
import type {
|
2
|
+
import type { ScopedSettings, ScopedRules } from "./scoped/index.js";
|
3
3
|
import type { Plugins, Scopes } from "../../scopes/index.js";
|
4
4
|
export type Output = readonly [
|
5
5
|
CommonPlugins<Plugins>,
|
6
6
|
CommonSettings,
|
7
7
|
CommonIgnores,
|
8
|
-
...readonly (
|
8
|
+
...readonly (ScopedSettings<Scopes> | ScopedRules<Scopes>)[]
|
9
9
|
];
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/output/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EACV,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/output/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,MAAM,GAAG,SAAS;IAC5B,aAAa,CAAC,OAAO,CAAC;IACtB,cAAc;IACd,aAAa;IACb,GAAG,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,EAAE;CAC7D,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scoped/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,SAAS,CAAC;AAC7B,mBAAmB,YAAY,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/output/scoped/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scoped/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,WAAW,CAAC,KAAK,SAAS,MAAM,IAAI,aAAa,CAC3D,UAAU,KAAK,IAAI,MAAM,GAAG,EAC1B,OAAO,GACP,SAAS,GACT,OAAO,CACV,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/interface/output/scoped/rules.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { PartialConfig } from "../../shared/index.js";
|
2
|
+
export type ScopedSettings<Scope extends string> = PartialConfig<`linted/${Scope}/`, "files" | "ignores" | "processor" | "language" | "settings", string, {
|
3
|
+
readonly languageOptions: object;
|
4
|
+
}>;
|
5
|
+
//# sourceMappingURL=settings.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scoped/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,MAAM,IAAI,aAAa,CAC9D,UAAU,KAAK,GAAG,EAChB,OAAO,GACP,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,EACZ,MAAM,EACN;IAAE,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CACrC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/interface/output/scoped/settings.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
@@ -4,14 +4,14 @@ import type {
|
|
4
4
|
CommonIgnores,
|
5
5
|
} from "./common";
|
6
6
|
import type {
|
7
|
-
|
8
|
-
|
9
|
-
} from "./
|
7
|
+
ScopedSettings,
|
8
|
+
ScopedRules,
|
9
|
+
} from "./scoped";
|
10
10
|
import type { Plugins, Scopes } from "../../scopes";
|
11
11
|
|
12
12
|
export type Output = readonly [
|
13
13
|
CommonPlugins<Plugins>,
|
14
14
|
CommonSettings,
|
15
15
|
CommonIgnores,
|
16
|
-
...readonly (
|
16
|
+
...readonly (ScopedSettings<Scopes> | ScopedRules<Scopes>)[],
|
17
17
|
];
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PartialConfig } from "../../shared";
|
2
|
+
|
3
|
+
export type ScopedRules<Scope extends string> = PartialConfig<
|
4
|
+
`linted/${Scope}/${string}/`,
|
5
|
+
| "files"
|
6
|
+
| "ignores"
|
7
|
+
| "rules"
|
8
|
+
>;
|
9
|
+
|
10
|
+
// export type ScopedRules<Scope extends string> = {
|
11
|
+
// readonly name: `linted/${Scope}/${string}/`;
|
12
|
+
// } & Pick<Config, "files" | "ignores" | "rules">;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { PartialConfig } from "../../shared";
|
2
2
|
|
3
|
-
export type
|
4
|
-
`linted/${
|
3
|
+
export type ScopedSettings<Scope extends string> = PartialConfig<
|
4
|
+
`linted/${Scope}/`,
|
5
5
|
| "files"
|
6
6
|
| "ignores"
|
7
7
|
| "processor"
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scope/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,SAAS,CAAC;AAC7B,mBAAmB,YAAY,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/output/scope/index.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scope/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,UAAU,CAAC,MAAM,SAAS,MAAM,IAAI,aAAa,CAC3D,UAAU,MAAM,IAAI,MAAM,GAAG,EAC3B,OAAO,GACP,SAAS,GACT,OAAO,CACV,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/interface/output/scope/rules.ts"],"names":[],"mappings":""}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { PartialConfig } from "../../shared/index.js";
|
2
|
-
export type ScopeSettings<Scopes extends string> = PartialConfig<`linted/${Scopes}/`, "files" | "ignores" | "processor" | "language" | "settings", string, {
|
3
|
-
readonly languageOptions: object;
|
4
|
-
}>;
|
5
|
-
//# sourceMappingURL=settings.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scope/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,aAAa,CAAC,MAAM,SAAS,MAAM,IAAI,aAAa,CAC9D,UAAU,MAAM,GAAG,EACjB,OAAO,GACP,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,EACZ,MAAM,EACN;IAAE,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CACrC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/interface/output/scope/settings.ts"],"names":[],"mappings":""}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import type { PartialConfig } from "../../shared";
|
2
|
-
|
3
|
-
export type ScopeRules<Scopes extends string> = PartialConfig<
|
4
|
-
`linted/${Scopes}/${string}/`,
|
5
|
-
| "files"
|
6
|
-
| "ignores"
|
7
|
-
| "rules"
|
8
|
-
>;
|
9
|
-
|
10
|
-
// export type ScopeRules<Scopes extends string> = {
|
11
|
-
// readonly name: `linted/${Scopes}/${string}/`;
|
12
|
-
// } & Pick<Config, "files" | "ignores" | "rules">;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|