chore
This commit is contained in:
parent
e5546e21ad
commit
92e6e5081b
3
dist/index.d.ts
vendored
3
dist/index.d.ts
vendored
@ -58,6 +58,7 @@ export type InputConfig = Omit<ESLintConfig, "rules"> & {
|
|||||||
customRuleFiles?: string | string[];
|
customRuleFiles?: string | string[];
|
||||||
/**
|
/**
|
||||||
* Automatically detect project types, dependencies and deduct the plugins.
|
* Automatically detect project types, dependencies and deduct the plugins.
|
||||||
|
* @default true
|
||||||
*/
|
*/
|
||||||
auto?: boolean;
|
auto?: boolean;
|
||||||
};
|
};
|
||||||
@ -91,7 +92,7 @@ export interface MiddlewareFunctions {
|
|||||||
* 1. [`graphql`](https://the-guild.dev/graphql/eslint/rules)
|
* 1. [`graphql`](https://the-guild.dev/graphql/eslint/rules)
|
||||||
*/
|
*/
|
||||||
export declare function extendConfig(of?: InputConfig & {
|
export declare function extendConfig(of?: InputConfig & {
|
||||||
middlewares: Middleware[];
|
middlewares?: Middleware[];
|
||||||
}): ESLintConfig;
|
}): ESLintConfig;
|
||||||
|
|
||||||
export {};
|
export {};
|
||||||
|
4
dist/package.json
vendored
4
dist/package.json
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@aet/eslint-rules",
|
"name": "@aet/eslint-rules",
|
||||||
"version": "1.0.1-beta.15",
|
"version": "1.0.1-beta.16",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"bin": {
|
"bin": {
|
||||||
"eslint-install": "install.js",
|
"eslint-install": "install.js",
|
||||||
@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nolyfill/is-core-module": "^1.0.39",
|
"@nolyfill/is-core-module": "^1.0.39",
|
||||||
"@aet/eslint-define-config": "^0.1.0-beta.16",
|
"@aet/eslint-define-config": "^0.1.0-beta.17",
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.4.0",
|
||||||
"@tanstack/eslint-plugin-query": "^5.51.15",
|
"@tanstack/eslint-plugin-query": "^5.51.15",
|
||||||
"@types/eslint": "^9.6.0",
|
"@types/eslint": "^9.6.0",
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@aet/eslint-define-config": "^0.1.0-beta.16",
|
"@aet/eslint-define-config": "^0.1.0-beta.17",
|
||||||
"@antfu/install-pkg": "^0.3.3",
|
"@antfu/install-pkg": "^0.3.3",
|
||||||
"@babel/core": "^7.25.2",
|
"@babel/core": "^7.25.2",
|
||||||
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
|
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
|
||||||
@ -72,4 +72,4 @@
|
|||||||
"json-stable-stringify": "npm:@nolyfill/json-stable-stringify@^1"
|
"json-stable-stringify": "npm:@nolyfill/json-stable-stringify@^1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -22,8 +22,8 @@ importers:
|
|||||||
.:
|
.:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@aet/eslint-define-config':
|
'@aet/eslint-define-config':
|
||||||
specifier: ^0.1.0-beta.16
|
specifier: ^0.1.0-beta.17
|
||||||
version: 0.1.0-beta.16
|
version: 0.1.0-beta.17
|
||||||
'@antfu/install-pkg':
|
'@antfu/install-pkg':
|
||||||
specifier: ^0.3.3
|
specifier: ^0.3.3
|
||||||
version: 0.3.3
|
version: 0.3.3
|
||||||
@ -144,8 +144,8 @@ importers:
|
|||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
'@aet/eslint-define-config@0.1.0-beta.16':
|
'@aet/eslint-define-config@0.1.0-beta.17':
|
||||||
resolution: {integrity: sha512-YySnm04GDQ5v9+qhJxWNY3pSVQ0DebXWKcI/9MJW3WUlzYHjF35C9361eWURY+DEE0kOMltfqLimK6MIxC9cJA==}
|
resolution: {integrity: sha512-gwQUwwmneD+dqbZpEcR9sws0Xbd1zpTSbGUswsFtJS4B7iVqUhE7ovf3NlSw8igo6aKrncMKe9o5969C1p2u5A==}
|
||||||
engines: {node: '>=18.0.0', npm: '>=9.0.0'}
|
engines: {node: '>=18.0.0', npm: '>=9.0.0'}
|
||||||
|
|
||||||
'@ampproject/remapping@2.3.0':
|
'@ampproject/remapping@2.3.0':
|
||||||
@ -1967,7 +1967,7 @@ packages:
|
|||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
|
|
||||||
'@aet/eslint-define-config@0.1.0-beta.16': {}
|
'@aet/eslint-define-config@0.1.0-beta.17': {}
|
||||||
|
|
||||||
'@ampproject/remapping@2.3.0':
|
'@ampproject/remapping@2.3.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -89,6 +89,7 @@ export type InputConfig = Omit<ESLintConfig, 'rules'> & {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Automatically detect project types, dependencies and deduct the plugins.
|
* Automatically detect project types, dependencies and deduct the plugins.
|
||||||
|
* @default true
|
||||||
*/
|
*/
|
||||||
auto?: boolean;
|
auto?: boolean;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user