@eslint-sets/eslint-config 6.0.0-beta.2 → 6.0.0-beta.4
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/cli/index.d.ts +2 -2
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +3 -2
- package/dist/cli/index.mjs +4 -2
- package/dist/cli/types.d.ts +11 -0
- package/dist/cli/types.d.ts.map +1 -0
- package/dist/configs/angular.d.ts +16 -0
- package/dist/configs/angular.d.ts.map +1 -0
- package/dist/configs/astro.d.ts +11 -0
- package/dist/configs/astro.d.ts.map +1 -0
- package/dist/configs/command.d.ts +7 -0
- package/dist/configs/command.d.ts.map +1 -0
- package/dist/configs/disables.d.ts +7 -0
- package/dist/configs/disables.d.ts.map +1 -0
- package/dist/configs/e18e.d.ts +12 -0
- package/dist/configs/e18e.d.ts.map +1 -0
- package/dist/configs/eslint-comments.d.ts +12 -0
- package/dist/configs/eslint-comments.d.ts.map +1 -0
- package/dist/configs/formatters.d.ts +39 -0
- package/dist/configs/formatters.d.ts.map +1 -0
- package/dist/configs/ignores.d.ts +6 -0
- package/dist/configs/ignores.d.ts.map +1 -0
- package/dist/configs/imports.d.ts +19 -0
- package/dist/configs/imports.d.ts.map +1 -0
- package/dist/configs/index.d.ts +49 -0
- package/dist/configs/index.d.ts.map +1 -0
- package/dist/configs/javascript.d.ts +16 -0
- package/dist/configs/javascript.d.ts.map +1 -0
- package/dist/configs/jsonc.d.ts +11 -0
- package/dist/configs/jsonc.d.ts.map +1 -0
- package/dist/configs/jsx-a11y.d.ts +11 -0
- package/dist/configs/jsx-a11y.d.ts.map +1 -0
- package/dist/configs/markdown.d.ts +11 -0
- package/dist/configs/markdown.d.ts.map +1 -0
- package/dist/configs/nextjs.d.ts +11 -0
- package/dist/configs/nextjs.d.ts.map +1 -0
- package/dist/configs/no-only-tests.d.ts +12 -0
- package/dist/configs/no-only-tests.d.ts.map +1 -0
- package/dist/configs/node.d.ts +6 -0
- package/dist/configs/node.d.ts.map +1 -0
- package/dist/configs/nuxt.d.ts +19 -0
- package/dist/configs/nuxt.d.ts.map +1 -0
- package/dist/configs/perfectionist.d.ts +27 -0
- package/dist/configs/perfectionist.d.ts.map +1 -0
- package/dist/configs/pnpm.d.ts +17 -0
- package/dist/configs/pnpm.d.ts.map +1 -0
- package/dist/configs/prettier.d.ts +77 -0
- package/dist/configs/prettier.d.ts.map +1 -0
- package/dist/configs/react.d.ts +18 -0
- package/dist/configs/react.d.ts.map +1 -0
- package/dist/configs/regexp.d.ts +6 -0
- package/dist/configs/regexp.d.ts.map +1 -0
- package/dist/configs/solid.d.ts +6 -0
- package/dist/configs/solid.d.ts.map +1 -0
- package/dist/configs/sort.d.ts +33 -0
- package/dist/configs/sort.d.ts.map +1 -0
- package/dist/configs/stylistic.d.ts +69 -0
- package/dist/configs/stylistic.d.ts.map +1 -0
- package/dist/configs/svelte.d.ts +17 -0
- package/dist/configs/svelte.d.ts.map +1 -0
- package/dist/configs/test.d.ts +17 -0
- package/dist/configs/test.d.ts.map +1 -0
- package/dist/configs/toml.d.ts +6 -0
- package/dist/configs/toml.d.ts.map +1 -0
- package/dist/configs/typescript.d.ts +32 -0
- package/dist/configs/typescript.d.ts.map +1 -0
- package/dist/configs/unicorn.d.ts +17 -0
- package/dist/configs/unicorn.d.ts.map +1 -0
- package/dist/configs/unocss.d.ts +16 -0
- package/dist/configs/unocss.d.ts.map +1 -0
- package/dist/configs/vue-a11y.d.ts +12 -0
- package/dist/configs/vue-a11y.d.ts.map +1 -0
- package/dist/configs/vue.d.ts +23 -0
- package/dist/configs/vue.d.ts.map +1 -0
- package/dist/configs/yaml.d.ts +11 -0
- package/dist/configs/yaml.d.ts.map +1 -0
- package/dist/constants.d.ts +61 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/index.d.ts +15 -21556
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +45 -39
- package/dist/index.mjs +45 -39
- package/dist/plugins.d.ts +65 -0
- package/dist/plugins.d.ts.map +1 -0
- package/dist/types.d.ts +270 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/git.d.ts +13 -0
- package/dist/utils/git.d.ts.map +1 -0
- package/dist/utils/index.d.ts +51 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/types.d.ts +5 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/cli/index.d.mts +0 -2
- package/dist/index.d.mts +0 -21571
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":""}
|
package/dist/cli/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
"use strict";
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
@@ -23,8 +24,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
24
|
));
|
|
24
25
|
|
|
25
26
|
// src/cli/index.ts
|
|
26
|
-
var import_node_fs = require("fs");
|
|
27
|
-
var import_node_path = require("path");
|
|
27
|
+
var import_node_fs = require("node:fs");
|
|
28
|
+
var import_node_path = require("node:path");
|
|
28
29
|
var p = __toESM(require("@clack/prompts"));
|
|
29
30
|
async function main() {
|
|
30
31
|
console.clear();
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
1
3
|
// src/cli/index.ts
|
|
2
|
-
import { existsSync, writeFileSync } from "fs";
|
|
3
|
-
import { resolve } from "path";
|
|
4
|
+
import { existsSync, writeFileSync } from "node:fs";
|
|
5
|
+
import { resolve } from "node:path";
|
|
4
6
|
import * as p from "@clack/prompts";
|
|
5
7
|
async function main() {
|
|
6
8
|
console.clear();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/cli/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACvB,IAAI,EAAE,OAAO,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,OAAO,CAAA;IACxB,YAAY,EAAE,OAAO,CAAA;IACrB,IAAI,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Angular configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface AngularOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Template files glob pattern
|
|
9
|
+
*/
|
|
10
|
+
templateFiles?: string[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Angular configuration
|
|
14
|
+
*/
|
|
15
|
+
export declare function angular(options?: AngularOptions): Promise<Linter.Config[]>;
|
|
16
|
+
//# sourceMappingURL=angular.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"angular.d.ts","sourceRoot":"","sources":["../../src/configs/angular.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACvD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CA2EpF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Astro configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type AstroOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* Astro configuration
|
|
9
|
+
*/
|
|
10
|
+
export declare function astro(options?: AstroOptions): Promise<Linter.Config[]>;
|
|
11
|
+
//# sourceMappingURL=astro.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/configs/astro.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAA;AAM3C;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CA4ChF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/configs/command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAapC;;;GAGG;AACH,wBAAgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAkDzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disables.d.ts","sourceRoot":"","sources":["../../src/configs/disables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAepC;;;GAGG;AACH,wBAAgB,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,CAiE1C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* e18e (modernization) configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type E18eOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* e18e modernization configuration
|
|
9
|
+
* Provides rules for modernizing JavaScript/TypeScript code
|
|
10
|
+
*/
|
|
11
|
+
export declare function e18e(options?: E18eOptions): Promise<Linter.Config[]>;
|
|
12
|
+
//# sourceMappingURL=e18e.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e18e.d.ts","sourceRoot":"","sources":["../../src/configs/e18e.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAA;AAU1C;;;GAGG;AACH,wBAAsB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CA+B9E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* ESLint comments configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type EslintCommentsOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* ESLint comments configuration
|
|
9
|
+
* Rules for ESLint directive comments (eslint-disable, etc.)
|
|
10
|
+
*/
|
|
11
|
+
export declare function eslintComments(options?: EslintCommentsOptions): Promise<Linter.Config[]>;
|
|
12
|
+
//# sourceMappingURL=eslint-comments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint-comments.d.ts","sourceRoot":"","sources":["../../src/configs/eslint-comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAA;AAKpD;;;GAGG;AACH,wBAAsB,cAAc,CACnC,OAAO,GAAE,qBAA0B,GACjC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAiC1B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* External formatters configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface FormattersOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Enable CSS formatting
|
|
9
|
+
* @default 'prettier'
|
|
10
|
+
*/
|
|
11
|
+
css?: 'prettier' | 'none';
|
|
12
|
+
/**
|
|
13
|
+
* Enable GraphQL formatting
|
|
14
|
+
*/
|
|
15
|
+
graphql?: 'prettier' | 'none';
|
|
16
|
+
/**
|
|
17
|
+
* Enable HTML formatting
|
|
18
|
+
* @default 'prettier'
|
|
19
|
+
*/
|
|
20
|
+
html?: 'prettier' | 'none';
|
|
21
|
+
/**
|
|
22
|
+
* Enable Markdown formatting (beyond standard markdown config)
|
|
23
|
+
*/
|
|
24
|
+
markdown?: 'prettier' | 'none';
|
|
25
|
+
/**
|
|
26
|
+
* Enable SVG formatting
|
|
27
|
+
*/
|
|
28
|
+
svg?: 'prettier' | 'none';
|
|
29
|
+
/**
|
|
30
|
+
* Enable XML formatting
|
|
31
|
+
*/
|
|
32
|
+
xml?: 'prettier' | 'none';
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* External formatters configuration
|
|
36
|
+
* Provides formatting for CSS, HTML, XML, SVG, GraphQL, and more
|
|
37
|
+
*/
|
|
38
|
+
export declare function formatters(options?: FormattersOptions): Promise<Linter.Config[]>;
|
|
39
|
+
//# sourceMappingURL=formatters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../src/configs/formatters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IAC1D;;;OAGG;IACH,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAE7B;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAE9B;;OAEG;IACH,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;CACzB;AAOD;;;GAGG;AACH,wBAAsB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAmH1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ignores.d.ts","sourceRoot":"","sources":["../../src/configs/ignores.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEpC;;GAEG;AACH,wBAAgB,OAAO,CAAC,WAAW,GAAE,MAAM,EAAO,GAAG,MAAM,CAAC,MAAM,CAKjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Import configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface ImportsOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Enable stylistic rules
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
11
|
+
stylistic?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Import configuration
|
|
15
|
+
*
|
|
16
|
+
* Note: Import sorting is handled by perfectionist/sort-imports, not import-x/order
|
|
17
|
+
*/
|
|
18
|
+
export declare function imports(options?: ImportsOptions): Linter.Config;
|
|
19
|
+
//# sourceMappingURL=imports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/configs/imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAKhD;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACvD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,GAAE,cAAmB,GAAG,MAAM,CAAC,MAAM,CA6CnE"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { Options } from '../types';
|
|
3
|
+
import { angular } from './angular';
|
|
4
|
+
import { astro } from './astro';
|
|
5
|
+
import { command } from './command';
|
|
6
|
+
import { disables } from './disables';
|
|
7
|
+
import { e18e } from './e18e';
|
|
8
|
+
import { eslintComments } from './eslint-comments';
|
|
9
|
+
import { formatters } from './formatters';
|
|
10
|
+
import { ignores } from './ignores';
|
|
11
|
+
import { imports } from './imports';
|
|
12
|
+
import { javascript } from './javascript';
|
|
13
|
+
import { jsonc } from './jsonc';
|
|
14
|
+
import { jsxA11y } from './jsx-a11y';
|
|
15
|
+
import { markdown } from './markdown';
|
|
16
|
+
import { nextjs } from './nextjs';
|
|
17
|
+
import { noOnlyTests } from './no-only-tests';
|
|
18
|
+
import { node } from './node';
|
|
19
|
+
import { nuxt } from './nuxt';
|
|
20
|
+
import { perfectionist } from './perfectionist';
|
|
21
|
+
import { pnpm } from './pnpm';
|
|
22
|
+
import { prettier } from './prettier';
|
|
23
|
+
import { react } from './react';
|
|
24
|
+
import { regexp } from './regexp';
|
|
25
|
+
import { solid } from './solid';
|
|
26
|
+
import { sortPackageJson, sortTsconfig } from './sort';
|
|
27
|
+
import { stylistic } from './stylistic';
|
|
28
|
+
import { svelte } from './svelte';
|
|
29
|
+
import { test } from './test';
|
|
30
|
+
import { toml } from './toml';
|
|
31
|
+
import { typescript } from './typescript';
|
|
32
|
+
import { unicorn } from './unicorn';
|
|
33
|
+
import { unocss } from './unocss';
|
|
34
|
+
import { vue } from './vue';
|
|
35
|
+
import { vueA11y } from './vue-a11y';
|
|
36
|
+
import { yaml } from './yaml';
|
|
37
|
+
/**
|
|
38
|
+
* Create the ESLint configuration
|
|
39
|
+
*/
|
|
40
|
+
export declare function config(options?: Options): Promise<Linter.Config[]>;
|
|
41
|
+
export * from '../constants';
|
|
42
|
+
export { angular, astro, command, disables, e18e, eslintComments, formatters, ignores, imports, javascript, jsonc, jsxA11y, markdown, nextjs, node, noOnlyTests, nuxt, perfectionist, pnpm, prettier, react, regexp, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toml, typescript, unicorn, unocss, vue, vueA11y, yaml, };
|
|
43
|
+
export * from '../plugins';
|
|
44
|
+
export type { FrameworkOptions, Linter, Options, OptionsOverrides, ProjectType } from '../types';
|
|
45
|
+
export * from '../utils';
|
|
46
|
+
export type { ReactOptions } from './react';
|
|
47
|
+
export type { TypeScriptOptions } from './typescript';
|
|
48
|
+
export type { VueOptions } from './vue';
|
|
49
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/configs/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* JavaScript configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface JavaScriptOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Whether running in editor environment
|
|
9
|
+
*/
|
|
10
|
+
isInEditor?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* JavaScript base configuration
|
|
14
|
+
*/
|
|
15
|
+
export declare function javascript(options?: JavaScriptOptions): Linter.Config;
|
|
16
|
+
//# sourceMappingURL=javascript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../src/configs/javascript.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAKhD;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IAC1D;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,MAAM,CAAC,MAAM,CAsMzE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* JSON/JSONC configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type JsoncOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* JSON/JSONC/JSON5 configuration
|
|
9
|
+
*/
|
|
10
|
+
export declare function jsonc(options?: JsoncOptions): Linter.Config[];
|
|
11
|
+
//# sourceMappingURL=jsonc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/configs/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAKhD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAA;AAE3C;;GAEG;AACH,wBAAgB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,CA6CjE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* JSX Accessibility configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type JsxA11yOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* JSX Accessibility configuration
|
|
9
|
+
*/
|
|
10
|
+
export declare function jsxA11y(options?: JsxA11yOptions): Promise<Linter.Config[]>;
|
|
11
|
+
//# sourceMappingURL=jsx-a11y.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsx-a11y.d.ts","sourceRoot":"","sources":["../../src/configs/jsx-a11y.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAA;AAW7C;;GAEG;AACH,wBAAsB,OAAO,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAiEpF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Markdown configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type MarkdownOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* Markdown configuration
|
|
9
|
+
*/
|
|
10
|
+
export declare function markdown(options?: MarkdownOptions): Promise<Linter.Config[]>;
|
|
11
|
+
//# sourceMappingURL=markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../src/configs/markdown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAA;AAK9C;;GAEG;AACH,wBAAsB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAwCtF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type NextjsOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* Next.js configuration
|
|
9
|
+
*/
|
|
10
|
+
export declare function nextjs(options?: NextjsOptions): Promise<Linter.Config[]>;
|
|
11
|
+
//# sourceMappingURL=nextjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextjs.d.ts","sourceRoot":"","sources":["../../src/configs/nextjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAA;AAK5C;;GAEG;AACH,wBAAsB,MAAM,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CA4ClF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* No only tests configuration options
|
|
5
|
+
*/
|
|
6
|
+
export type NoOnlyTestsOptions = OptionsOverrides;
|
|
7
|
+
/**
|
|
8
|
+
* No only tests configuration
|
|
9
|
+
* Prevents committing .only() tests
|
|
10
|
+
*/
|
|
11
|
+
export declare function noOnlyTests(options?: NoOnlyTestsOptions): Promise<Linter.Config[]>;
|
|
12
|
+
//# sourceMappingURL=no-only-tests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-only-tests.d.ts","sourceRoot":"","sources":["../../src/configs/no-only-tests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAOjD;;;GAGG;AACH,wBAAsB,WAAW,CAAC,OAAO,GAAE,kBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAyC5F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/configs/node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAOpC;;GAEG;AACH,wBAAgB,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,CAmDtC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Nuxt configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface NuxtOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Enable Nuxt-specific rules
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
11
|
+
rules?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Nuxt configuration
|
|
15
|
+
* Note: Nuxt projects use Vue configuration as base
|
|
16
|
+
* This adds Nuxt-specific rules
|
|
17
|
+
*/
|
|
18
|
+
export declare function nuxt(options?: NuxtOptions): Linter.Config[];
|
|
19
|
+
//# sourceMappingURL=nuxt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nuxt.d.ts","sourceRoot":"","sources":["../../src/configs/nuxt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACpD;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,CAoB/D"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
/**
|
|
3
|
+
* Perfectionist (sorting) configuration options
|
|
4
|
+
*/
|
|
5
|
+
export interface PerfectionistOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Sorting order
|
|
8
|
+
* @default 'asc'
|
|
9
|
+
*/
|
|
10
|
+
order?: 'asc' | 'desc';
|
|
11
|
+
/**
|
|
12
|
+
* Override rules
|
|
13
|
+
*/
|
|
14
|
+
overrides?: Linter.RulesRecord;
|
|
15
|
+
/**
|
|
16
|
+
* Sorting type
|
|
17
|
+
* @default 'natural'
|
|
18
|
+
*/
|
|
19
|
+
type?: 'natural' | 'line-length' | 'alphabetical';
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Perfectionist (sorting) configuration
|
|
23
|
+
*
|
|
24
|
+
* @see https://github.com/azat-io/eslint-plugin-perfectionist
|
|
25
|
+
*/
|
|
26
|
+
export declare function perfectionist(options?: PerfectionistOptions): Linter.Config;
|
|
27
|
+
//# sourceMappingURL=perfectionist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"perfectionist.d.ts","sourceRoot":"","sources":["../../src/configs/perfectionist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAIpC;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,WAAW,CAAA;IAE9B;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,cAAc,CAAA;CACjD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB,GAAG,MAAM,CAAC,MAAM,CAyE/E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* pnpm workspace configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface PnpmOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Enable catalogs support
|
|
9
|
+
*/
|
|
10
|
+
catalogs?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* pnpm workspace configuration
|
|
14
|
+
* Supports pnpm catalogs and workspace configuration
|
|
15
|
+
*/
|
|
16
|
+
export declare function pnpm(options?: PnpmOptions): Promise<Linter.Config[]>;
|
|
17
|
+
//# sourceMappingURL=pnpm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pnpm.d.ts","sourceRoot":"","sources":["../../src/configs/pnpm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB;AAUD;;;GAGG;AACH,wBAAsB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CA0B9E"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
/**
|
|
3
|
+
* Prettier configuration options
|
|
4
|
+
*
|
|
5
|
+
* Default values are aligned with stylistic defaults for consistency
|
|
6
|
+
*/
|
|
7
|
+
export interface PrettierOptions {
|
|
8
|
+
/**
|
|
9
|
+
* Arrow function parentheses
|
|
10
|
+
* @default 'always'
|
|
11
|
+
*/
|
|
12
|
+
arrowParens?: 'always' | 'avoid';
|
|
13
|
+
/**
|
|
14
|
+
* Bracket spacing
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
bracketSpacing?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* End of line
|
|
20
|
+
* @default 'auto'
|
|
21
|
+
*/
|
|
22
|
+
endOfLine?: 'auto' | 'lf' | 'crlf' | 'cr';
|
|
23
|
+
/**
|
|
24
|
+
* JSX single quote
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
jsxSingleQuote?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Override rules
|
|
30
|
+
*/
|
|
31
|
+
overrides?: Linter.RulesRecord;
|
|
32
|
+
/**
|
|
33
|
+
* Print width
|
|
34
|
+
* @default 120
|
|
35
|
+
*/
|
|
36
|
+
printWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Quote props
|
|
39
|
+
* @default 'as-needed'
|
|
40
|
+
*/
|
|
41
|
+
quoteProps?: 'as-needed' | 'consistent' | 'preserve';
|
|
42
|
+
/**
|
|
43
|
+
* Use semicolons
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
semi?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Single quote
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
singleQuote?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Tab width
|
|
54
|
+
* @default 2
|
|
55
|
+
*/
|
|
56
|
+
tabWidth?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Trailing commas
|
|
59
|
+
* @default 'es5'
|
|
60
|
+
*/
|
|
61
|
+
trailingComma?: 'all' | 'es5' | 'none';
|
|
62
|
+
/**
|
|
63
|
+
* Use tabs
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
useTabs?: boolean;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Prettier configuration
|
|
70
|
+
*
|
|
71
|
+
* Default values are aligned with stylistic defaults for consistency.
|
|
72
|
+
* When switching between stylistic and prettier, the code style will remain the same.
|
|
73
|
+
*
|
|
74
|
+
* Note: This config is only loaded when stylistic is disabled (stylistic: false).
|
|
75
|
+
*/
|
|
76
|
+
export declare function prettier(options?: PrettierOptions): Linter.Config[];
|
|
77
|
+
//# sourceMappingURL=prettier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prettier.d.ts","sourceRoot":"","sources":["../../src/configs/prettier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAKpC;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAEhC;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAEzC;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,WAAW,CAAA;IAE9B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,UAAU,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,UAAU,CAAA;IAEpD;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAA;IAEtC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,CAiDvE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
import type { OptionsOverrides } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* React configuration options
|
|
5
|
+
*/
|
|
6
|
+
export interface ReactOptions extends OptionsOverrides {
|
|
7
|
+
/**
|
|
8
|
+
* Enable React Compiler rules
|
|
9
|
+
* @default auto-detect
|
|
10
|
+
*/
|
|
11
|
+
reactCompiler?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* React configuration
|
|
15
|
+
* Uses @eslint-react/eslint-plugin for modern React linting
|
|
16
|
+
*/
|
|
17
|
+
export declare function react(options?: ReactOptions): Promise<Linter.Config[]>;
|
|
18
|
+
//# sourceMappingURL=react.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../src/configs/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACrD;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;CACvB;AAQD;;;GAGG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAoEhF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../src/configs/regexp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAIpC;;GAEG;AACH,wBAAgB,MAAM,IAAI,MAAM,CAAC,MAAM,CA0CtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solid.d.ts","sourceRoot":"","sources":["../../src/configs/solid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC;;GAEG;AACH,wBAAsB,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CA2BtD"}
|