@eslinted/core 4.0.5-rc.6 → 4.0.5-rc.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/files.d.ts +8 -0
- package/dist/factory/files.d.ts.map +1 -0
- package/dist/factory/files.js +19 -0
- package/dist/factory/files.js.map +1 -0
- package/dist/factory/index.d.ts +6 -0
- package/dist/factory/index.d.ts.map +1 -0
- package/dist/factory/index.js +5 -0
- package/dist/factory/index.js.map +1 -0
- package/dist/factory/options/html.d.ts +9 -0
- package/dist/factory/options/html.d.ts.map +1 -0
- package/dist/factory/options/html.js +10 -0
- package/dist/factory/options/html.js.map +1 -0
- package/dist/factory/options/index.d.ts +23 -0
- package/dist/factory/options/index.d.ts.map +1 -0
- package/dist/factory/options/index.js +21 -0
- package/dist/factory/options/index.js.map +1 -0
- package/dist/factory/options/js.d.ts +10 -0
- package/dist/factory/options/js.d.ts.map +1 -0
- package/dist/factory/options/js.js +12 -0
- package/dist/factory/options/js.js.map +1 -0
- package/dist/factory/options/json.d.ts +9 -0
- package/dist/factory/options/json.d.ts.map +1 -0
- package/dist/factory/options/json.js +10 -0
- package/dist/factory/options/json.js.map +1 -0
- package/dist/factory/options/jsonc.d.ts +9 -0
- package/dist/factory/options/jsonc.d.ts.map +1 -0
- package/dist/factory/options/jsonc.js +10 -0
- package/dist/factory/options/jsonc.js.map +1 -0
- package/dist/factory/options/md.d.ts +9 -0
- package/dist/factory/options/md.d.ts.map +1 -0
- package/dist/factory/options/md.js +10 -0
- package/dist/factory/options/md.js.map +1 -0
- package/dist/factory/options/mocha.d.ts +40 -0
- package/dist/factory/options/mocha.d.ts.map +1 -0
- package/dist/factory/options/mocha.js +17 -0
- package/dist/factory/options/mocha.js.map +1 -0
- package/dist/factory/options/option/index.d.ts +2986 -0
- package/dist/factory/options/option/index.d.ts.map +1 -0
- package/dist/factory/options/option/index.js +47 -0
- package/dist/factory/options/option/index.js.map +1 -0
- package/dist/factory/options/option/template/globals.d.ts +3 -0
- package/dist/factory/options/option/template/globals.d.ts.map +1 -0
- package/dist/factory/options/option/template/globals.js +1 -0
- package/dist/factory/options/option/template/globals.js.map +1 -0
- package/dist/factory/options/option/template/index.d.ts +15 -0
- package/dist/factory/options/option/template/index.d.ts.map +1 -0
- package/dist/factory/options/option/template/index.js +1 -0
- package/dist/factory/options/option/template/index.js.map +1 -0
- package/dist/factory/options/option/template/language/ecma.d.ts +2 -0
- package/dist/factory/options/option/template/language/ecma.d.ts.map +1 -0
- package/dist/factory/options/option/template/language/ecma.js +1 -0
- package/dist/factory/options/option/template/language/ecma.js.map +1 -0
- package/dist/factory/options/option/template/language/index.d.ts +14 -0
- package/dist/factory/options/option/template/language/index.d.ts.map +1 -0
- package/dist/factory/options/option/template/language/index.js +1 -0
- package/dist/factory/options/option/template/language/index.js.map +1 -0
- package/dist/factory/options/option/template/language/source.d.ts +2 -0
- package/dist/factory/options/option/template/language/source.d.ts.map +1 -0
- package/dist/factory/options/option/template/language/source.js +1 -0
- package/dist/factory/options/option/template/language/source.js.map +1 -0
- package/dist/factory/options/option/template/linter.d.ts +5 -0
- package/dist/factory/options/option/template/linter.d.ts.map +1 -0
- package/dist/factory/options/option/template/linter.js +1 -0
- package/dist/factory/options/option/template/linter.js.map +1 -0
- package/dist/factory/options/option/template/plugins.d.ts +6 -0
- package/dist/factory/options/option/template/plugins.d.ts.map +1 -0
- package/dist/factory/options/option/template/plugins.js +1 -0
- package/dist/factory/options/option/template/plugins.js.map +1 -0
- package/dist/factory/options/svelte.d.ts +27 -0
- package/dist/factory/options/svelte.d.ts.map +1 -0
- package/dist/factory/options/svelte.js +21 -0
- package/dist/factory/options/svelte.js.map +1 -0
- package/dist/factory/options/ts.d.ts +19 -0
- package/dist/factory/options/ts.d.ts.map +1 -0
- package/dist/factory/options/ts.js +15 -0
- package/dist/factory/options/ts.js.map +1 -0
- package/dist/factory/options/yml.d.ts +9 -0
- package/dist/factory/options/yml.d.ts.map +1 -0
- package/dist/factory/options/yml.js +10 -0
- package/dist/factory/options/yml.js.map +1 -0
- package/dist/factory/rulesets/index.d.ts +10 -0
- package/dist/factory/rulesets/index.d.ts.map +1 -0
- package/dist/factory/rulesets/index.js +17 -0
- package/dist/factory/rulesets/index.js.map +1 -0
- package/dist/factory/rulesets/ruleset.d.ts +10 -0
- package/dist/factory/rulesets/ruleset.d.ts.map +1 -0
- package/dist/factory/rulesets/ruleset.js +20 -0
- package/dist/factory/rulesets/ruleset.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/input/files.d.ts +6 -0
- package/dist/input/files.d.ts.map +1 -0
- package/dist/input/files.js +1 -0
- package/dist/input/files.js.map +1 -0
- package/dist/input/imports/parsers.d.ts +3 -0
- package/dist/input/imports/parsers.d.ts.map +1 -0
- package/dist/input/imports/parsers.js +1 -0
- package/dist/input/imports/parsers.js.map +1 -0
- package/dist/input/imports/plugins.d.ts +2 -0
- package/dist/input/imports/plugins.d.ts.map +1 -0
- package/dist/input/imports/plugins.js +1 -0
- package/dist/input/imports/plugins.js.map +1 -0
- package/dist/input/index.d.ts +22 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input/index.js +1 -0
- package/dist/input/index.js.map +1 -0
- package/dist/input/parsers.d.ts +3 -0
- package/dist/input/parsers.d.ts.map +1 -0
- package/dist/input/parsers.js +1 -0
- package/dist/input/parsers.js.map +1 -0
- package/dist/input/plugins.d.ts +5 -0
- package/dist/input/plugins.d.ts.map +1 -0
- package/dist/input/plugins.js +1 -0
- package/dist/input/plugins.js.map +1 -0
- package/dist/input/rules/entry/index.d.ts +7 -0
- package/dist/input/rules/entry/index.d.ts.map +1 -0
- package/dist/input/rules/entry/index.js +1 -0
- package/dist/input/rules/entry/index.js.map +1 -0
- package/dist/input/rules/entry/record/index.d.ts +3 -0
- package/dist/input/rules/entry/record/index.d.ts.map +1 -0
- package/dist/input/rules/entry/record/index.js +1 -0
- package/dist/input/rules/entry/record/index.js.map +1 -0
- package/dist/input/rules/entry/record/state.d.ts +2 -0
- package/dist/input/rules/entry/record/state.d.ts.map +1 -0
- package/dist/input/rules/entry/record/state.js +1 -0
- package/dist/input/rules/entry/record/state.js.map +1 -0
- package/dist/input/rules/index.d.ts +14 -0
- package/dist/input/rules/index.d.ts.map +1 -0
- package/dist/input/rules/index.js +1 -0
- package/dist/input/rules/index.js.map +1 -0
- package/dist/output.d.ts +20 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +1 -0
- package/dist/output.js.map +1 -0
- package/dist/scopes.d.ts +3 -0
- package/dist/scopes.d.ts.map +1 -0
- package/dist/scopes.js +12 -0
- package/dist/scopes.js.map +1 -0
- package/package.json +4 -4
- package/tsconfig.json +5 -6
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=plugins.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/input/plugins.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/input/rules/entry/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AACtD,yBAAiB,SAAS,CAAC;IACzB,KAAY,EAAE,GAAG,MAAM,CAAC;IACxB,KAAY,MAAM,GAAG,UAAU,CAAC;CACjC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/input/rules/entry/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/input/rules/entry/record/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/input/rules/entry/record/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/input/rules/entry/record/state.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,CACpB,OAAO,GACP,MAAM,GACN,KAAK,CACR,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/input/rules/entry/record/state.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { Scope } from "../index.js";
|
2
|
+
import type { RuleEntry } from "./entry/index.js";
|
3
|
+
export interface RulesInput {
|
4
|
+
rules: Record<Scope, RuleEntry[]>;
|
5
|
+
overrides: Partial<Record<Scope, RuleEntry.Record>>;
|
6
|
+
}
|
7
|
+
export declare namespace RulesInput {
|
8
|
+
type Entry = RuleEntry;
|
9
|
+
namespace Entry {
|
10
|
+
type Id = RuleEntry.Id;
|
11
|
+
type Record = RuleEntry.Record;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/input/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;CACrD;AACD,yBAAiB,UAAU,CAAC;IAC1B,KAAY,KAAK,GAAG,SAAS,CAAC;IAC9B,UAAiB,KAAK,CAAC;QACrB,KAAY,EAAE,GAAG,SAAS,CAAC,EAAE,CAAC;QAC9B,KAAY,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC;KACvC;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/rules/index.ts"],"names":[],"mappings":""}
|
package/dist/output.d.ts
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { Input } from "./index.js";
|
2
|
+
export type Output = ({
|
3
|
+
name: `linted/${string}`;
|
4
|
+
rules: Input["rules"]["rules"]["html"][number][1];
|
5
|
+
files: string[];
|
6
|
+
linterOptions: {
|
7
|
+
noInlineConfig: true;
|
8
|
+
reportUnusedDisableDirectives: "error";
|
9
|
+
};
|
10
|
+
languageOptions: {
|
11
|
+
sourceType?: "module" | "script";
|
12
|
+
ecmaVersion?: "latest";
|
13
|
+
globals?: Table<true>;
|
14
|
+
parser?: unknown;
|
15
|
+
parserOptions?: Record<string, unknown>;
|
16
|
+
};
|
17
|
+
plugins: Table<Record<"configs", unknown>>;
|
18
|
+
processor?: string;
|
19
|
+
})[];
|
20
|
+
//# sourceMappingURL=output.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../src/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE/B,MAAM,MAAM,MAAM,GAAG,CACnB;IACE,IAAI,EAAE,UAAU,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAClD,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CAAC;QACb,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QACtB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,EAAE,CAAC"}
|
package/dist/output.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=output.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../src/output.ts"],"names":[],"mappings":""}
|
package/dist/scopes.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC1C,eAAO,MAAM,MAAM,gFAUT,CAAC"}
|
package/dist/scopes.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;CACI,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"_schemaVersion": "20.18.0
|
2
|
+
"_schemaVersion": "20.18.0",
|
3
3
|
"name": "@eslinted/core",
|
4
|
-
"version": "4.0.5-rc.
|
4
|
+
"version": "4.0.5-rc.8",
|
5
5
|
"description": "Core ESLint flat config factory npm package `linted`.",
|
6
6
|
"keywords": [],
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
@@ -13,8 +13,8 @@
|
|
13
13
|
"access": "public"
|
14
14
|
},
|
15
15
|
"type": "module",
|
16
|
-
"main": "
|
17
|
-
"types": "
|
16
|
+
"main": "dist/index.js",
|
17
|
+
"types": "dist/index.d.ts",
|
18
18
|
"config": {
|
19
19
|
"language": "ts",
|
20
20
|
"fix": "true",
|
package/tsconfig.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"display": "
|
2
|
+
"display": "jimmy/tsc",
|
3
|
+
"version": "5.6.2",
|
4
|
+
"help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
3
5
|
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
-
"_version": "5.6.1-core.1",
|
5
6
|
"include": [
|
6
7
|
"*.config.ts",
|
7
8
|
"src/**/*.ts",
|
@@ -10,8 +11,6 @@
|
|
10
11
|
],
|
11
12
|
"exclude": [],
|
12
13
|
"compilerOptions": {
|
13
|
-
/* https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level */
|
14
|
-
|
15
14
|
// #region TYPE CHECKING
|
16
15
|
"allowUnreachableCode": false,
|
17
16
|
"allowUnusedLabels": false,
|
@@ -41,7 +40,7 @@
|
|
41
40
|
// "allowUmdGlobalAccess": true,
|
42
41
|
// "baseUrl": "./",
|
43
42
|
// "customConditions": [],
|
44
|
-
"module": "
|
43
|
+
"module": "preserve",
|
45
44
|
"moduleResolution": "bundler",
|
46
45
|
// "moduleSuffixes": [],
|
47
46
|
// "noResolve": true,
|
@@ -122,7 +121,7 @@
|
|
122
121
|
// "noLib": true,
|
123
122
|
// "reactNamespace": "",
|
124
123
|
"target": "es2022",
|
125
|
-
"useDefineForClassFields": true
|
124
|
+
// "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
|
126
125
|
// #endregion
|
127
126
|
|
128
127
|
|