Update
This commit is contained in:
38
dist/index.d.ts
vendored
38
dist/index.d.ts
vendored
@ -1,38 +0,0 @@
|
||||
// Generated by dts-bundle-generator v9.4.0
|
||||
|
||||
import { FlatESLintConfig } from '@aet/eslint-define-config';
|
||||
import { Linter } from 'eslint';
|
||||
|
||||
export type MiddlewareResult = Linter.Config | Linter.Config[];
|
||||
export type Middleware = (() => Promise<MiddlewareResult>) | (() => Promise<{
|
||||
default: MiddlewareResult;
|
||||
}>);
|
||||
/**
|
||||
* Returns a ESLint config object.
|
||||
*
|
||||
* By default, it includes `["@typescript-eslint", "import-x", "prettier", "unicorn"]` configs.
|
||||
* Additional bundled plugins include:
|
||||
*
|
||||
* 1. [`react`](https://github.com/jsx-eslint/eslint-plugin-react#list-of-supported-rules)
|
||||
* (automatically enables
|
||||
* [`react-hooks`](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks))
|
||||
* 2. [`react-refresh`](https://github.com/ArnaudBarre/eslint-plugin-react-refresh)
|
||||
* 3. [`jsx-a11y`](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y#supported-rules)
|
||||
* 4. [`unicorn`](https://github.com/sindresorhus/eslint-plugin-unicorn#rules)
|
||||
* 5. [`n`](https://github.com/eslint-community/eslint-plugin-n#-rules) (Node.js specific,
|
||||
* requires `minimatch`)
|
||||
* 6. [`jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc#rules)
|
||||
*
|
||||
* Non bundled:
|
||||
* 1. [`graphql`](https://the-guild.dev/graphql/eslint/rules)
|
||||
*
|
||||
* @param of Configuration options.
|
||||
* @returns ESLint configuration object.
|
||||
*/
|
||||
export declare function extendConfig({ auto, middlewares: addMiddlewares, configs, }: {
|
||||
auto?: boolean;
|
||||
middlewares?: Middleware[];
|
||||
configs: FlatESLintConfig[];
|
||||
}): Promise<FlatESLintConfig[]>;
|
||||
|
||||
export {};
|
16
dist/package.json
vendored
16
dist/package.json
vendored
@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "@aet/eslint-rules",
|
||||
"version": "2.0.1-beta.1",
|
||||
"version": "2.0.1-beta.8",
|
||||
"license": "UNLICENSED",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"eslint-install": "install.js",
|
||||
"eslint-print": "print-config.sh"
|
||||
@ -21,23 +22,24 @@
|
||||
"@eslint/js": "^9.12.0",
|
||||
"@eslint-community/eslint-utils": "^4.4.0",
|
||||
"@types/eslint": "^9.6.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.9.0",
|
||||
"@typescript-eslint/parser": "^8.9.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.10.0",
|
||||
"@typescript-eslint/parser": "^8.10.0",
|
||||
"@eslint-react/eslint-plugin": "1.15.0",
|
||||
"@stylistic/eslint-plugin": "^2.9.0",
|
||||
"@typescript-eslint/type-utils": "^8.9.0",
|
||||
"@typescript-eslint/utils": "^8.9.0",
|
||||
"@typescript-eslint/type-utils": "^8.10.0",
|
||||
"@typescript-eslint/utils": "^8.10.0",
|
||||
"aria-query": "^5.3.2",
|
||||
"axe-core": "^4.10.0",
|
||||
"axe-core": "^4.10.1",
|
||||
"axobject-query": "4.1.0",
|
||||
"damerau-levenshtein": "1.0.8",
|
||||
"debug": "^4.3.7",
|
||||
"doctrine": "^3.0.0",
|
||||
"emoji-regex": "^10.4.0",
|
||||
"enhanced-resolve": "^5.17.1",
|
||||
"typescript-eslint": "^8.9.0",
|
||||
"typescript-eslint": "^8.10.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-import-resolver-node": "^0.3.9",
|
||||
"eslint-import-resolver-typescript": "^3.6.3",
|
||||
"eslint-module-utils": "^2.12.0",
|
||||
"eslint-plugin-es-x": "^8.0.0",
|
||||
"eslint-plugin-import-x": "^4.3.1",
|
||||
|
2267
dist/pnpm-lock.yaml
generated
vendored
Normal file
2267
dist/pnpm-lock.yaml
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user