linted 14.4.0-rc.3 → 14.4.0-rc.6

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.
@@ -2,28 +2,28 @@ declare const Plugins: {
2
2
  js: {
3
3
  "@stylistic": {
4
4
  rules: import("@stylistic/eslint-plugin").Rules;
5
- configs: Record<string, any> & {
6
- 'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
5
+ configs: Record<string, import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
6
+ 'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
7
7
  customize: typeof import("@stylistic/eslint-plugin").customize;
8
- 'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
9
- 'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
10
- 'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
11
- 'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
12
- 'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
8
+ 'recommended-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
9
+ 'recommended-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
10
+ 'all-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
11
+ 'all-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
12
+ 'recommended-legacy': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
13
13
  };
14
14
  };
15
15
  };
16
16
  ts: {
17
17
  "@stylistic": {
18
18
  rules: import("@stylistic/eslint-plugin").Rules;
19
- configs: Record<string, any> & {
20
- 'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
19
+ configs: Record<string, import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
20
+ 'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
21
21
  customize: typeof import("@stylistic/eslint-plugin").customize;
22
- 'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
23
- 'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
24
- 'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
25
- 'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
26
- 'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
22
+ 'recommended-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
23
+ 'recommended-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
24
+ 'all-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
25
+ 'all-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
26
+ 'recommended-legacy': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
27
27
  };
28
28
  };
29
29
  "@typescript-eslint": {
@@ -33,14 +33,14 @@ declare const Plugins: {
33
33
  svelte: {
34
34
  "@stylistic": {
35
35
  rules: import("@stylistic/eslint-plugin").Rules;
36
- configs: Record<string, any> & {
37
- 'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
36
+ configs: Record<string, import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord> | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[]> & {
37
+ 'disable-legacy': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
38
38
  customize: typeof import("@stylistic/eslint-plugin").customize;
39
- 'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
40
- 'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
41
- 'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
42
- 'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
43
- 'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
39
+ 'recommended-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
40
+ 'recommended-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
41
+ 'all-flat': import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>;
42
+ 'all-extends': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
43
+ 'recommended-legacy': import("eslint").Linter.BaseConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
44
44
  };
45
45
  };
46
46
  "@typescript-eslint": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linted",
3
- "version": "14.4.0-rc.3",
3
+ "version": "14.4.0-rc.6",
4
4
  "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.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "eslint": "~8.57.0",
71
- "linted": "~14.4.0-rc.2",
71
+ "linted": "~14.4.0-rc.3",
72
72
  "npm-run-all": "^4.1.5",
73
73
  "typescript": "^5.5.3"
74
74
  },
@@ -16,6 +16,6 @@ declare interface IConfig {
16
16
  parser?: unknown;
17
17
  parserOptions?: Record<string, unknown>;
18
18
  };
19
- plugins: Record<Plugins, Record<"configs", unknown>>;
19
+ plugins: Record<string, Record<"configs", unknown>>;
20
20
  processor?: string;
21
21
  }
@@ -1,10 +1,15 @@
1
- declare type IOLanguageEcma<Ecma extends number | IOLanguageEcma.Ecma> = Numbered<Ecma> extends never
2
- ? literalful<Ecma> extends never
1
+ declare type IOLanguageEcma<Ecma extends number | IOLanguageEcma.Ecma> = [Ecma] extends [number]
2
+ ? Numbered<Ecma> extends never
3
3
  ? object
4
- : literalful<Ecma> extends IOLanguageEcma.Ecma
5
- ? { ecmaVersion: literalful<Ecma> }
6
- : object
7
- : { ecmaVersion: Numbered<Ecma> };
4
+ : { ecmaVersion: Numbered<Ecma> }
5
+
6
+ : [Ecma] extends [string]
7
+ ? literalful<Ecma> extends never
8
+ ? object
9
+ : literalful<Ecma> extends IOLanguageEcma.Ecma
10
+ ? { ecmaVersion: literalful<Ecma> }
11
+ : object
12
+ : object;
8
13
 
9
14
  declare namespace IOLanguageEcma {
10
15
  export type Ecma =
@@ -8,13 +8,17 @@ declare type IOLinter<
8
8
  noInlineConfig: True<NoInline> extends never
9
9
  ? false
10
10
  : True<NoInline>;
11
- reportUnusedDisableDirectives: True<ReportUnused> extends never
12
- ? literalful<ReportUnused> extends never
11
+ reportUnusedDisableDirectives: [ReportUnused] extends [boolean]
12
+ ? True<ReportUnused> extends never
13
13
  ? false
14
- : literalful<ReportUnused> extends IOLinter.States
15
- ? literalful<ReportUnused>
16
- : false
17
- : True<ReportUnused>;
14
+ : True<ReportUnused>
15
+ : [ReportUnused] extends [string]
16
+ ? literalful<ReportUnused> extends never
17
+ ? false
18
+ : literalful<ReportUnused> extends IOLinter.States
19
+ ? literalful<ReportUnused>
20
+ : false
21
+ : false;
18
22
  };
19
23
  };
20
24
 
@@ -49,7 +49,7 @@ declare namespace NotArrayType {
49
49
  length: 1;
50
50
  }>;
51
51
  export type N21 = ArrayType<symbol>;
52
- export type N22 = ArrayType<Bookmark>;
52
+ export type N22 = ArrayType<object>;
53
53
  export type N23 = ArrayType<
54
54
  | []
55
55
  | object
@@ -17,5 +17,3 @@ declare type Join<A extends readonly unknown[], D extends string = string> = Arr
17
17
  : stringful
18
18
  : stringful
19
19
  : never;
20
-
21
- type bingus = MonadType<Filepath<2>["nodes"]>;
@@ -3,5 +3,3 @@ declare type Stringify<C> = C extends Record<"string", infer S extends string>
3
3
  : C extends Record<"toString", infer Fn extends ()=> string>
4
4
  ? ReturnType<Fn>
5
5
  : never;
6
-
7
- type GG = Stringify<Filepath<1>>;
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "display": "@jimbojet/tsc",
3
- "_version": "5.5.5",
3
+ "_version": "5.5.7",
4
4
  "$schema": "https://json.schemastore.org/tsconfig",
5
5
  "include": [
6
6
  "src/**/*.ts",
@@ -32,12 +32,8 @@
32
32
  "module": "esnext", /* Specify what module code is generated. */
33
33
  "rootDir": "src", /* Specify the root folder within your source files. */
34
34
  "moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */
35
- "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
36
- "paths": {
37
- "*": [
38
- "node_modules/*",
39
- ],
40
- }, /* Specify a set of entries that re-map imports to additional lookup locations. */
35
+ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
36
+ // "paths": { "*": ["node_modules/*"] }, /* Specify a set of entries that re-map imports to additional lookup locations. */
41
37
  // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
42
38
  // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
43
39
  // "types": [], /* Specify type package names to be included without being referenced in a source file. */