diff --git a/src/config/extends/eslint-plugin-eslint-comment.d.ts b/src/config/extends/eslint-plugin-eslint-comment.d.ts index 09263725..29f33fbf 100644 --- a/src/config/extends/eslint-plugin-eslint-comment.d.ts +++ b/src/config/extends/eslint-plugin-eslint-comment.d.ts @@ -1,6 +1,6 @@ /** - * Eslint EslintComments extensions. + * Eslint EslintComments extends. * - * @see [Eslint EslintComments extensions](https://mysticatea.github.io/eslint-plugin-eslint-comments/#%F0%9F%93%96-usage) + * @see [Eslint EslintComments extends](https://mysticatea.github.io/eslint-plugin-eslint-comments/#%F0%9F%93%96-usage) */ -export type EslintCommentsExtensions = 'plugin:eslint-comments/recommended'; +export type EslintCommentsExtends = 'plugin:eslint-comments/recommended'; diff --git a/src/config/extends/eslint-plugin-graphql.d.ts b/src/config/extends/eslint-plugin-graphql.d.ts index cd7f6436..811ba90e 100644 --- a/src/config/extends/eslint-plugin-graphql.d.ts +++ b/src/config/extends/eslint-plugin-graphql.d.ts @@ -1,9 +1,9 @@ /** - * Eslint GraphQL extensions. + * Eslint GraphQL extends. * - * @see [Eslint GraphQL extensions](https://the-guild.dev/graphql/eslint/docs/configs) + * @see [Eslint GraphQL extends](https://the-guild.dev/graphql/eslint/docs/configs) */ -export type GraphqlExtensions = +export type GraphqlExtends = | 'plugin:@graphql-eslint/operations-all' | 'plugin:@graphql-eslint/operations-recommended' | 'plugin:@graphql-eslint/relay' diff --git a/src/config/extends/eslint-plugin-import.d.ts b/src/config/extends/eslint-plugin-import.d.ts index 78652c27..c8b1b009 100644 --- a/src/config/extends/eslint-plugin-import.d.ts +++ b/src/config/extends/eslint-plugin-import.d.ts @@ -1,9 +1,9 @@ /** - * Eslint import extensions. + * Eslint import extends. * - * @see [Eslint import extensions](https://github.com/benmosher/eslint-plugin-import#installation) + * @see [Eslint import extends](https://github.com/benmosher/eslint-plugin-import#installation) */ -export type ImportExtensions = +export type ImportExtends = | 'plugin:import/errors' | 'plugin:import/warnings' | 'plugin:import/typescript'; diff --git a/src/config/extends/eslint-plugin-jsdoc.d.ts b/src/config/extends/eslint-plugin-jsdoc.d.ts index b59c2b53..2c29851f 100644 --- a/src/config/extends/eslint-plugin-jsdoc.d.ts +++ b/src/config/extends/eslint-plugin-jsdoc.d.ts @@ -1,6 +1,6 @@ /** - * Eslint JSDoc extensions. + * Eslint JSDoc extends. * - * @see [Eslint JSDoc extensions](https://github.com/gajus/eslint-plugin-jsdoc#configuration) + * @see [Eslint JSDoc extends](https://github.com/gajus/eslint-plugin-jsdoc#configuration) */ -export type JsdocExtensions = 'plugin:jsdoc/recommended'; +export type JsdocExtends = 'plugin:jsdoc/recommended'; diff --git a/src/config/extends/eslint-plugin-jsonc.d.ts b/src/config/extends/eslint-plugin-jsonc.d.ts index 9f34a442..f4d41e6b 100644 --- a/src/config/extends/eslint-plugin-jsonc.d.ts +++ b/src/config/extends/eslint-plugin-jsonc.d.ts @@ -1,9 +1,9 @@ /** - * Eslint Jsonc extensions. + * Eslint Jsonc extends. * - * @see [Eslint Jsonc extensions](https://github.com/ota-meshi/eslint-plugin-jsonc#configuration) + * @see [Eslint Jsonc extends](https://github.com/ota-meshi/eslint-plugin-jsonc#configuration) */ -export type JsoncExtensions = +export type JsoncExtends = | 'plugin:jsdoc/base' | 'plugin:jsdoc/recommended' | 'plugin:jsonc/recommended-with-json' diff --git a/src/config/extends/eslint-plugin-jsx-a11y.d.ts b/src/config/extends/eslint-plugin-jsx-a11y.d.ts index d283fd9f..a1ccc6cb 100644 --- a/src/config/extends/eslint-plugin-jsx-a11y.d.ts +++ b/src/config/extends/eslint-plugin-jsx-a11y.d.ts @@ -1,8 +1,8 @@ /** - * Eslint JSX A11y extensions. + * Eslint JSX A11y extends. * - * @see [Eslint JSX A11y extensions](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) + * @see [Eslint JSX A11y extends](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) */ -export type JsxA11yExtensions = +export type JsxA11yExtends = | 'plugin:jsx-a11y/strict' | 'plugin:jsx-a11y/recommended'; diff --git a/src/config/extends/eslint-plugin-mdx.d.ts b/src/config/extends/eslint-plugin-mdx.d.ts index a607539a..e4c9038a 100644 --- a/src/config/extends/eslint-plugin-mdx.d.ts +++ b/src/config/extends/eslint-plugin-mdx.d.ts @@ -1,9 +1,9 @@ /** - * Eslint MDX extensions. + * Eslint MDX extends. * - * @see [Eslint MDX extensions](https://github.com/mdx-js/eslint-mdx/tree/master/packages/eslint-plugin-mdx) + * @see [Eslint MDX extends](https://github.com/mdx-js/eslint-mdx/tree/master/packages/eslint-plugin-mdx) */ -export type MdxExtensions = +export type MdxExtends = | 'plugin:mdx/base' | 'plugin:mdx/code-blocks' | 'plugin:mdx/overrides' diff --git a/src/config/extends/eslint-plugin-n.d.ts b/src/config/extends/eslint-plugin-n.d.ts index 377c0dde..f7a9666d 100644 --- a/src/config/extends/eslint-plugin-n.d.ts +++ b/src/config/extends/eslint-plugin-n.d.ts @@ -1,9 +1,9 @@ /** - * Eslint N (Node) extensions. + * Eslint N (Node) extends. * - * @see [Eslint N extensions](https://github.com/eslint-community/eslint-plugin-n#-configs) + * @see [Eslint N extends](https://github.com/eslint-community/eslint-plugin-n#-configs) */ -export type NExtensions = +export type NExtends = | 'plugin:n/recommended' | 'plugin:n/recommended-module' | 'plugin:n/recommended-script'; diff --git a/src/config/extends/eslint-plugin-node.d.ts b/src/config/extends/eslint-plugin-node.d.ts index cf4757b6..8eb10fcf 100644 --- a/src/config/extends/eslint-plugin-node.d.ts +++ b/src/config/extends/eslint-plugin-node.d.ts @@ -1,9 +1,9 @@ /** - * Eslint Node extensions. + * Eslint Node extends. * - * @see [Eslint Node extensions](https://github.com/mysticatea/eslint-plugin-node#-configs) + * @see [Eslint Node extends](https://github.com/mysticatea/eslint-plugin-node#-configs) */ -export type NodeExtensions = +export type NodeExtends = | 'plugin:node/recommended' | 'plugin:node/recommended-module' | 'plugin:node/recommended-script'; diff --git a/src/config/extends/eslint-plugin-prettier.d.ts b/src/config/extends/eslint-plugin-prettier.d.ts index d86f5abe..f9b54992 100644 --- a/src/config/extends/eslint-plugin-prettier.d.ts +++ b/src/config/extends/eslint-plugin-prettier.d.ts @@ -1,6 +1,6 @@ /** - * Eslint Prettier extensions. + * Eslint Prettier extends. * - * @see [Eslint Prettier extensions](https://github.com/prettier/eslint-plugin-prettier#recommended-configuration) + * @see [Eslint Prettier extends](https://github.com/prettier/eslint-plugin-prettier#recommended-configuration) */ -export type PrettierExtensions = 'plugin:prettier/recommended' | 'prettier'; +export type PrettierExtends = 'plugin:prettier/recommended' | 'prettier'; diff --git a/src/config/extends/eslint-plugin-promise.d.ts b/src/config/extends/eslint-plugin-promise.d.ts index a049d916..fa3840a2 100644 --- a/src/config/extends/eslint-plugin-promise.d.ts +++ b/src/config/extends/eslint-plugin-promise.d.ts @@ -1,6 +1,6 @@ /** - * Eslint promise extensions. + * Eslint promise extends. * - * @see [Eslint promise extensions](https://github.com/eslint-community/eslint-plugin-promise#usage) + * @see [Eslint promise extends](https://github.com/eslint-community/eslint-plugin-promise#usage) */ -export type PromiseExtensions = 'plugin:promise/recommended'; +export type PromiseExtends = 'plugin:promise/recommended'; diff --git a/src/config/extends/eslint-plugin-react-hooks.d.ts b/src/config/extends/eslint-plugin-react-hooks.d.ts index 92f9ab56..a28c5951 100644 --- a/src/config/extends/eslint-plugin-react-hooks.d.ts +++ b/src/config/extends/eslint-plugin-react-hooks.d.ts @@ -1,6 +1,6 @@ /** - * Eslint ReactHooks extensions. + * Eslint ReactHooks extends. * - * @see [Eslint ReactHooks extensions](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks) + * @see [Eslint ReactHooks extends](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks) */ -export type ReactHooksExtensions = 'plugin:react-hooks/recommended'; +export type ReactHooksExtends = 'plugin:react-hooks/recommended'; diff --git a/src/config/extends/eslint-plugin-react.d.ts b/src/config/extends/eslint-plugin-react.d.ts index a4ec98b4..b3777699 100644 --- a/src/config/extends/eslint-plugin-react.d.ts +++ b/src/config/extends/eslint-plugin-react.d.ts @@ -1,9 +1,9 @@ /** - * Eslint React extensions. + * Eslint React extends. * - * @see [Eslint React extensions](https://github.com/jsx-eslint/eslint-plugin-react) + * @see [Eslint React extends](https://github.com/jsx-eslint/eslint-plugin-react) */ -export type ReactExtensions = +export type ReactExtends = | 'plugin:react/all' | 'plugin:react/jsx-runtime' | 'plugin:react/recommended'; diff --git a/src/config/extends/eslint-plugin-sonarjs.d.ts b/src/config/extends/eslint-plugin-sonarjs.d.ts index 6456feac..946abe60 100644 --- a/src/config/extends/eslint-plugin-sonarjs.d.ts +++ b/src/config/extends/eslint-plugin-sonarjs.d.ts @@ -1,6 +1,6 @@ /** - * Eslint Sonarjs extensions. + * Eslint Sonarjs extends. * - * @see [Eslint Sonarjs extensions](https://github.com/SonarSource/eslint-plugin-sonarjs#available-configurations) + * @see [Eslint Sonarjs extends](https://github.com/SonarSource/eslint-plugin-sonarjs#available-configurations) */ -export type SonarjsExtensions = 'plugin:sonarjs/recommended'; +export type SonarjsExtends = 'plugin:sonarjs/recommended'; diff --git a/src/config/extends/eslint-plugin-testing-library.d.ts b/src/config/extends/eslint-plugin-testing-library.d.ts index 9adda0ca..216bb7c2 100644 --- a/src/config/extends/eslint-plugin-testing-library.d.ts +++ b/src/config/extends/eslint-plugin-testing-library.d.ts @@ -1,9 +1,9 @@ /** - * Eslint TestingLibrary extensions. + * Eslint TestingLibrary extends. * - * @see [Eslint TestingLibrary extensions](https://github.com/testing-library/eslint-plugin-testing-library) + * @see [Eslint TestingLibrary extends](https://github.com/testing-library/eslint-plugin-testing-library) */ -export type TestingLibraryExtensions = +export type TestingLibraryExtends = | 'plugin:testing-library/angular' | 'plugin:testing-library/dom' | 'plugin:testing-library/marko' diff --git a/src/config/extends/eslint-plugin-unicorn.d.ts b/src/config/extends/eslint-plugin-unicorn.d.ts index 229d4ff5..3233d5e2 100644 --- a/src/config/extends/eslint-plugin-unicorn.d.ts +++ b/src/config/extends/eslint-plugin-unicorn.d.ts @@ -1,8 +1,8 @@ /** - * Eslint Unicorn extensions. + * Eslint Unicorn extends. * - * @see [Eslint Unicorn extensions](https://github.com/sindresorhus/eslint-plugin-unicorn) + * @see [Eslint Unicorn extends](https://github.com/sindresorhus/eslint-plugin-unicorn) */ -export type UnicornExtensions = +export type UnicornExtends = | 'plugin:unicorn/recommended' | 'plugin:unicorn/all'; diff --git a/src/config/extends/eslint-plugin-vitest.d.ts b/src/config/extends/eslint-plugin-vitest.d.ts index 0d4f963b..5e1a9b69 100644 --- a/src/config/extends/eslint-plugin-vitest.d.ts +++ b/src/config/extends/eslint-plugin-vitest.d.ts @@ -1,8 +1,6 @@ /** - * Eslint Vitest extensions. + * Eslint Vitest extends. * - * @see [Eslint Vitest extensions](https://eslint.vuejs.org/user-guide/#usage) + * @see [Eslint Vitest extends](https://eslint.vuejs.org/user-guide/#usage) */ -export type VitestExtensions = - | 'plugin:vitest/all' - | 'plugin:vitest/recommended'; +export type VitestExtends = 'plugin:vitest/all' | 'plugin:vitest/recommended'; diff --git a/src/config/extends/eslint-plugin-vue-pug.d.ts b/src/config/extends/eslint-plugin-vue-pug.d.ts index ebb7eed3..9813f9e2 100644 --- a/src/config/extends/eslint-plugin-vue-pug.d.ts +++ b/src/config/extends/eslint-plugin-vue-pug.d.ts @@ -1,9 +1,9 @@ /** - * Eslint Vue Pug extensions. + * Eslint Vue Pug extends. * - * @see [Eslint Vue Pug extensions](https://github.com/rashfael/eslint-plugin-vue-pug#usage) + * @see [Eslint Vue Pug extends](https://github.com/rashfael/eslint-plugin-vue-pug#usage) */ -export type VuePugExtensions = +export type VuePugExtends = | 'plugin:vue-pug/base' | 'plugin:vue-pug/vue3-essential' | 'plugin:vue-pug/vue3-strongly-recommended' diff --git a/src/config/extends/eslint-plugin-vue.d.ts b/src/config/extends/eslint-plugin-vue.d.ts index dc9def8d..1a268feb 100644 --- a/src/config/extends/eslint-plugin-vue.d.ts +++ b/src/config/extends/eslint-plugin-vue.d.ts @@ -1,9 +1,9 @@ /** - * Eslint Vue extensions. + * Eslint Vue extends. * - * @see [Eslint Vue extensions](https://eslint.vuejs.org/user-guide/#usage) + * @see [Eslint Vue extends](https://eslint.vuejs.org/user-guide/#usage) */ -export type VueExtensions = +export type VueExtends = | 'plugin:vue/base' | 'plugin:vue/vue3-essential' | 'plugin:vue/vue3-strongly-recommended' diff --git a/src/config/extends/eslint.d.ts b/src/config/extends/eslint.d.ts index 35854af6..1ce09693 100644 --- a/src/config/extends/eslint.d.ts +++ b/src/config/extends/eslint.d.ts @@ -1,4 +1,4 @@ /** - * Eslint extensions. + * Eslint extends. */ -export type EslintExtensions = 'eslint:recommended' | 'eslint:all'; +export type EslintExtends = 'eslint:recommended' | 'eslint:all'; diff --git a/src/config/extends/index.d.ts b/src/config/extends/index.d.ts index 3d29c8af..8547cb04 100644 --- a/src/config/extends/index.d.ts +++ b/src/config/extends/index.d.ts @@ -1,51 +1,51 @@ import type { LiteralUnion } from '../../utility-types'; -import type { EslintExtensions } from './eslint'; -import type { EslintCommentsExtensions } from './eslint-plugin-eslint-comment'; -import type { GraphqlExtensions } from './eslint-plugin-graphql'; -import type { ImportExtensions } from './eslint-plugin-import'; -import type { JsdocExtensions } from './eslint-plugin-jsdoc'; -import type { JsoncExtensions } from './eslint-plugin-jsonc'; -import type { MdxExtensions } from './eslint-plugin-mdx'; -import type { NExtensions } from './eslint-plugin-n'; -import type { NodeExtensions } from './eslint-plugin-node'; -import type { PrettierExtensions } from './eslint-plugin-prettier'; -import type { PromiseExtensions } from './eslint-plugin-promise'; -import type { ReactExtensions } from './eslint-plugin-react'; -import type { ReactHooksExtensions } from './eslint-plugin-react-hooks'; -import type { SonarjsExtensions } from './eslint-plugin-sonarjs'; -import type { TestingLibraryExtensions } from './eslint-plugin-testing-library'; -import type { UnicornExtensions } from './eslint-plugin-unicorn'; -import type { VitestExtensions } from './eslint-plugin-vitest'; -import type { VueExtensions } from './eslint-plugin-vue'; -import type { VuePugExtensions } from './eslint-plugin-vue-pug'; -import type { IntlifyVueI18nExtensions } from './intlify-vue-i18n'; -import type { TypescriptEslintExtensions } from './typescript-eslint'; +import type { EslintExtends } from './eslint'; +import type { EslintCommentsExtends } from './eslint-plugin-eslint-comment'; +import type { GraphqlExtends } from './eslint-plugin-graphql'; +import type { ImportExtends } from './eslint-plugin-import'; +import type { JsdocExtends } from './eslint-plugin-jsdoc'; +import type { JsoncExtends } from './eslint-plugin-jsonc'; +import type { MdxExtends } from './eslint-plugin-mdx'; +import type { NExtends } from './eslint-plugin-n'; +import type { NodeExtends } from './eslint-plugin-node'; +import type { PrettierExtends } from './eslint-plugin-prettier'; +import type { PromiseExtends } from './eslint-plugin-promise'; +import type { ReactExtends } from './eslint-plugin-react'; +import type { ReactHooksExtends } from './eslint-plugin-react-hooks'; +import type { SonarjsExtends } from './eslint-plugin-sonarjs'; +import type { TestingLibraryExtends } from './eslint-plugin-testing-library'; +import type { UnicornExtends } from './eslint-plugin-unicorn'; +import type { VitestExtends } from './eslint-plugin-vitest'; +import type { VueExtends } from './eslint-plugin-vue'; +import type { VuePugExtends } from './eslint-plugin-vue-pug'; +import type { IntlifyVueI18nExtends } from './intlify-vue-i18n'; +import type { TypescriptEslintExtends } from './typescript-eslint'; /** - * All known extensions. + * All known extends. */ -export type KnownExtensions = LiteralUnion< - | EslintCommentsExtensions - | EslintExtensions - | GraphqlExtensions - | ImportExtensions - | IntlifyVueI18nExtensions - | JsdocExtensions - | JsoncExtensions - | MdxExtensions - | NExtensions - | NodeExtensions - | PrettierExtensions - | PromiseExtensions - | ReactExtensions - | ReactHooksExtensions - | SonarjsExtensions - | TestingLibraryExtensions - | TypescriptEslintExtensions - | UnicornExtensions - | VitestExtensions - | VueExtensions - | VuePugExtensions +export type KnownExtends = LiteralUnion< + | EslintCommentsExtends + | EslintExtends + | GraphqlExtends + | ImportExtends + | IntlifyVueI18nExtends + | JsdocExtends + | JsoncExtends + | MdxExtends + | NExtends + | NodeExtends + | PrettierExtends + | PromiseExtends + | ReactExtends + | ReactHooksExtends + | SonarjsExtends + | TestingLibraryExtends + | TypescriptEslintExtends + | UnicornExtends + | VitestExtends + | VueExtends + | VuePugExtends >; /** @@ -53,4 +53,4 @@ export type KnownExtensions = LiteralUnion< * * @see [Extends](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) */ -export type Extends = KnownExtensions | KnownExtensions[]; +export type Extends = KnownExtends | KnownExtends[]; diff --git a/src/config/extends/intlify-vue-i18n.d.ts b/src/config/extends/intlify-vue-i18n.d.ts index 17adf0d1..6235336b 100644 --- a/src/config/extends/intlify-vue-i18n.d.ts +++ b/src/config/extends/intlify-vue-i18n.d.ts @@ -1,6 +1,6 @@ /** - * Eslint Intlify VueI18n extensions. + * Eslint Intlify VueI18n extends. * - * @see [Eslint Intlify VueI18n extensions](https://eslint-plugin-vue-i18n.intlify.dev/started.html) + * @see [Eslint Intlify VueI18n extends](https://eslint-plugin-vue-i18n.intlify.dev/started.html) */ -export type IntlifyVueI18nExtensions = 'plugin:@intlify/vue-i18n/recommended'; +export type IntlifyVueI18nExtends = 'plugin:@intlify/vue-i18n/recommended'; diff --git a/src/config/extends/typescript-eslint.d.ts b/src/config/extends/typescript-eslint.d.ts index 29b91acb..4473c1d5 100644 --- a/src/config/extends/typescript-eslint.d.ts +++ b/src/config/extends/typescript-eslint.d.ts @@ -1,9 +1,9 @@ /** - * Typescript eslint extensions. + * Typescript eslint extends. * - * @see [Typescript eslint extensions](https://typescript-eslint.io/linting/configs#recommended-configurations) + * @see [Typescript eslint extends](https://typescript-eslint.io/linting/configs#recommended-configurations) */ -export type TypescriptEslintExtensions = +export type TypescriptEslintExtends = | 'plugin:@typescript-eslint/recommended' | 'plugin:@typescript-eslint/recommended-requiring-type-checking' | 'plugin:@typescript-eslint/strict';