eslint-define-config
Advanced tools
Comparing version 1.12.0 to 1.13.0
{ | ||
"name": "eslint-define-config", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "Provide a defineConfig function for .eslintrc.js files", | ||
@@ -58,34 +58,39 @@ "main": "src/index.js", | ||
"@types/json-schema": "~7.0.11", | ||
"@types/node": "~18.11.9", | ||
"@types/prettier": "~2.7.1", | ||
"@typescript-eslint/eslint-plugin": "~5.42.1", | ||
"@typescript-eslint/parser": "~5.42.1", | ||
"@types/node": "~18.11.18", | ||
"@types/prettier": "~2.7.2", | ||
"@typescript-eslint/eslint-plugin": "~5.47.1", | ||
"@typescript-eslint/parser": "~5.47.1", | ||
"change-case": "~4.1.2", | ||
"eslint": "~8.27.0", | ||
"eslint": "~8.31.0", | ||
"eslint-config-prettier": "~8.5.0", | ||
"eslint-gitignore": "~0.1.0", | ||
"eslint-plugin-deprecation": "~1.3.3", | ||
"eslint-plugin-eslint-comments": "~3.2.0", | ||
"eslint-plugin-import": "~2.26.0", | ||
"eslint-plugin-inclusive-language": "~2.2.0", | ||
"eslint-plugin-jsdoc": "~39.6.2", | ||
"eslint-plugin-jsdoc": "~39.6.4", | ||
"eslint-plugin-jsonc": "~2.5.0", | ||
"eslint-plugin-mdx": "~2.0.5", | ||
"eslint-plugin-n": "~15.5.1", | ||
"eslint-plugin-n": "~15.6.0", | ||
"eslint-plugin-node": "~11.1.0", | ||
"eslint-plugin-prettier": "~4.2.1", | ||
"eslint-plugin-spellcheck": "~0.0.19", | ||
"eslint-plugin-unicorn": "~44.0.2", | ||
"eslint-plugin-vue": "~9.7.0", | ||
"eslint-plugin-vue-pug": "~0.5.4", | ||
"eslint-plugin-promise": "~6.1.1", | ||
"eslint-plugin-sonarjs": "~0.17.0", | ||
"eslint-plugin-spellcheck": "~0.0.20", | ||
"eslint-plugin-unicorn": "~45.0.2", | ||
"eslint-plugin-vue": "~9.8.0", | ||
"eslint-plugin-vue-pug": "~0.5.5", | ||
"expect-type": "~0.15.0", | ||
"json-schema": "~0.4.0", | ||
"json-schema-to-typescript": "~11.0.2", | ||
"prettier": "2.7.1", | ||
"prettier-plugin-organize-imports": "~3.1.1", | ||
"prettier": "2.8.1", | ||
"prettier-plugin-organize-imports": "~3.2.1", | ||
"ts-dedent": "~2.2.0", | ||
"tsx": "~3.11.0", | ||
"typescript": "~4.8.4", | ||
"tsx": "~3.12.1", | ||
"typescript": "~4.9.4", | ||
"upper-case-first": "~2.0.2", | ||
"vitest": "~0.25.1", | ||
"vitest": "~0.26.3", | ||
"vue-eslint-parser": "~9.1.0" | ||
}, | ||
"packageManager": "pnpm@7.14.2", | ||
"packageManager": "pnpm@7.21.0", | ||
"engines": { | ||
@@ -92,0 +97,0 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0", |
@@ -60,2 +60,21 @@ <p> | ||
## Flat Config | ||
```ts | ||
// @ts-check | ||
const { defineFlatConfig } = require('eslint-define-config'); | ||
module.exports = defineFlatConfig([ | ||
'eslint:recommended', | ||
{ | ||
plugins: { | ||
// plugins... | ||
}, | ||
rules: { | ||
// rules... | ||
}, | ||
}, | ||
]); | ||
``` | ||
# Why? | ||
@@ -62,0 +81,0 @@ |
@@ -28,3 +28,3 @@ /** | ||
/** | ||
* Enable all ECMAScript 6 features except for modules (this automatically sets the ecmaVersion parser option to 6). | ||
* Enable all ECMAScript 6 features except for modules (this automatically sets the `ecmaVersion` parser option to 6). | ||
*/ | ||
@@ -34,13 +34,28 @@ es6?: boolean; | ||
/** | ||
* Adds all ECMAScript 2017 globals and automatically sets the ecmaVersion parser option to 8. | ||
* Adds all ECMAScript 2016 globals and automatically sets the `ecmaVersion` parser option to 7. | ||
*/ | ||
es2016?: boolean; | ||
/** | ||
* Adds all ECMAScript 2017 globals and automatically sets the `ecmaVersion` parser option to 8. | ||
*/ | ||
es2017?: boolean; | ||
/** | ||
* Adds all ECMAScript 2020 globals and automatically sets the ecmaVersion parser option to 11. | ||
* Adds all ECMAScript 2018 globals and automatically sets the `ecmaVersion` parser option to 9. | ||
*/ | ||
es2018?: boolean; | ||
/** | ||
* Adds all ECMAScript 2019 globals and automatically sets the `ecmaVersion` parser option to 10. | ||
*/ | ||
es2019?: boolean; | ||
/** | ||
* Adds all ECMAScript 2020 globals and automatically sets the `ecmaVersion` parser option to 11. | ||
*/ | ||
es2020?: boolean; | ||
/** | ||
* Adds all ECMAScript 2021 globals and automatically sets the ecmaVersion parser option to 12. | ||
* Adds all ECMAScript 2021 globals and automatically sets the `ecmaVersion` parser option to 12. | ||
*/ | ||
@@ -50,2 +65,12 @@ es2021?: boolean; | ||
/** | ||
* Adds all ECMAScript 2022 globals and automatically sets the `ecmaVersion` parser option to 13. | ||
*/ | ||
es2022?: boolean; | ||
/** | ||
* Adds all ECMAScript 2023 globals and automatically sets the `ecmaVersion` parser option to 14. | ||
*/ | ||
es2023?: boolean; | ||
/** | ||
* Web workers global variables. | ||
@@ -52,0 +77,0 @@ */ |
import type { LiteralUnion } from '../../utility-types'; | ||
import type { EslintExtensions } from './eslint'; | ||
import type { EslintCommentsExtensions } from './eslint-plugin-eslint-comment'; | ||
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'; | ||
@@ -9,2 +11,4 @@ import type { NExtensions } from './eslint-plugin-n'; | ||
import type { PrettierExtensions } from './eslint-plugin-prettier'; | ||
import type { PromiseExtensions } from './eslint-plugin-promise'; | ||
import type { SonarjsExtensions } from './eslint-plugin-sonarjs'; | ||
import type { UnicornExtensions } from './eslint-plugin-unicorn'; | ||
@@ -20,2 +24,3 @@ import type { VueExtensions } from './eslint-plugin-vue'; | ||
export type KnownExtensions = LiteralUnion< | ||
| EslintCommentsExtensions | ||
| EslintExtensions | ||
@@ -25,2 +30,3 @@ | ImportExtensions | ||
| JsdocExtensions | ||
| JsoncExtensions | ||
| MdxExtensions | ||
@@ -30,2 +36,4 @@ | NExtensions | ||
| PrettierExtensions | ||
| PromiseExtensions | ||
| SonarjsExtensions | ||
| TypescriptEslintExtensions | ||
@@ -32,0 +40,0 @@ | UnicornExtensions |
/** | ||
* Typescript eslint extensions. | ||
* | ||
* @see [Typescript eslint extensions](https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md#configuration) | ||
* @see [Typescript eslint extensions](https://typescript-eslint.io/linting/configs#recommended-configurations) | ||
*/ | ||
export type TypescriptEslintExtensions = | ||
| 'plugin:@typescript-eslint/recommended' | ||
| 'plugin:@typescript-eslint/recommended-requiring-type-checking'; | ||
| 'plugin:@typescript-eslint/recommended-requiring-type-checking' | ||
| 'plugin:@typescript-eslint/strict'; |
@@ -12,7 +12,7 @@ import type { Parser, ParserOptions } from '../parser-options'; | ||
* | ||
* @see [ESLint Configuration](https://ESLint.org/docs/user-guide/configuring/) | ||
* @see [ESLint Configuration](https://eslint.org/docs/latest/user-guide/configuring/) | ||
*/ | ||
export interface ESLintConfig { | ||
/** | ||
* @see [Using Configuration Files](https://ESLint.org/docs/user-guide/configuring/configuration-files#using-configuration-files) | ||
* @see [Using Configuration Files](https://eslint.org/docs/latest/user-guide/configuring/configuration-files#using-configuration-files) | ||
*/ | ||
@@ -24,3 +24,3 @@ root?: boolean; | ||
* | ||
* @see [Ignore Patterns](https://ESLint.org/docs/user-guide/configuring/ignoring-code) | ||
* @see [Ignore Patterns](https://eslint.org/docs/latest/user-guide/configuring/ignoring-code) | ||
*/ | ||
@@ -32,3 +32,3 @@ ignorePatterns?: string[]; | ||
* | ||
* @see [Environments](https://ESLint.org/docs/user-guide/configuring/language-options#specifying-environments) | ||
* @see [Environments](https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-environments) | ||
*/ | ||
@@ -40,3 +40,3 @@ env?: Environments; | ||
* | ||
* @see [Extends](https://ESLint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) | ||
* @see [Extends](https://eslint.org/docs/latest/user-guide/configuring/configuration-files#extending-configuration-files) | ||
*/ | ||
@@ -48,3 +48,3 @@ extends?: Extends; | ||
* | ||
* @see [Globals](https://ESLint.org/docs/user-guide/configuring/language-options#specifying-globals) | ||
* @see [Globals](https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-globals) | ||
*/ | ||
@@ -59,4 +59,4 @@ globals?: Record< | ||
* | ||
* @see [Working with Custom Parsers](https://ESLint.org/docs/developer-guide/working-with-custom-parsers) | ||
* @see [Specifying Parser](https://ESLint.org/docs/user-guide/configuring/plugins#specifying-parser) | ||
* @see [Working with Custom Parsers](https://eslint.org/docs/latest/developer-guide/working-with-custom-parsers) | ||
* @see [Specifying Parser](https://eslint.org/docs/latest/user-guide/configuring/plugins#configure-a-parser) | ||
*/ | ||
@@ -68,4 +68,4 @@ parser?: Parser; | ||
* | ||
* @see [Working with Custom Parsers](https://ESLint.org/docs/developer-guide/working-with-custom-parsers) | ||
* @see [Specifying Parser Options](https://ESLint.org/docs/user-guide/configuring/language-options#specifying-parser-options) | ||
* @see [Working with Custom Parsers](https://eslint.org/docs/latest/developer-guide/working-with-custom-parsers) | ||
* @see [Specifying Parser Options](https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-parser-options) | ||
*/ | ||
@@ -77,3 +77,3 @@ parserOptions?: ParserOptions; | ||
* | ||
* @see [Configuring Plugins](https://ESLint.org/docs/user-guide/configuring/plugins#configuring-plugins) | ||
* @see [Configuring Plugins](https://eslint.org/docs/latest/user-guide/configuring/plugins#configure-plugins) | ||
*/ | ||
@@ -85,3 +85,3 @@ plugins?: Plugin[]; | ||
* | ||
* @see [processor](https://ESLint.org/docs/user-guide/configuring/plugins#specifying-processor) | ||
* @see [processor](https://eslint.org/docs/latest/user-guide/configuring/plugins#specify-a-processor) | ||
*/ | ||
@@ -93,3 +93,3 @@ processor?: string; | ||
* | ||
* @see [Rules](https://ESLint.org/docs/user-guide/configuring/rules) | ||
* @see [Rules](https://eslint.org/docs/latest/user-guide/configuring/rules) | ||
*/ | ||
@@ -101,3 +101,3 @@ rules?: Rules; | ||
* | ||
* @see [How do overrides work](https://ESLint.org/docs/user-guide/configuring/configuration-files#how-do-overrides-work) | ||
* @see [How do overrides work](https://eslint.org/docs/latest/user-guide/configuring/configuration-files#how-do-overrides-work) | ||
*/ | ||
@@ -109,3 +109,3 @@ overrides?: Overrides; | ||
* | ||
* @see [Settings](https://ESLint.org/docs/user-guide/configuring/configuration-files#adding-shared-settings) | ||
* @see [Settings](https://eslint.org/docs/latest/user-guide/configuring/configuration-files#adding-shared-settings) | ||
*/ | ||
@@ -117,3 +117,3 @@ settings?: Settings; | ||
* | ||
* @see [Disabling Inline Comments](https://ESLint.org/docs/user-guide/configuring/rules#disabling-inline-comments) | ||
* @see [Disabling Inline Comments](https://eslint.org/docs/latest/user-guide/configuring/rules#disabling-inline-comments) | ||
*/ | ||
@@ -125,3 +125,3 @@ noInlineConfig?: boolean; | ||
* | ||
* @see [Report unused `ESLint-disable` comments](https://ESLint.org/docs/user-guide/configuring/rules#report-unused-ESLint-disable-comments) | ||
* @see [Report unused `ESLint-disable` comments](https://eslint.org/docs/latest/user-guide/configuring/rules#report-unused-eslint-disable-comments) | ||
*/ | ||
@@ -128,0 +128,0 @@ reportUnusedDisableDirectives?: boolean; |
@@ -9,8 +9,16 @@ import type { Parser, ParserOptions } from '../parser-options'; | ||
/** | ||
* | ||
* OverrideConfigData. | ||
*/ | ||
export interface Override { | ||
/** | ||
* The glob patterns for target files. | ||
*/ | ||
// https://github.com/eslint/eslint/blob/762a8727fb3b5619cff900826053b643ca5f1162/lib/shared/types.js#L61 | ||
files: string[] | string; | ||
excludedFiles?: string; | ||
/** | ||
* The glob patterns for excluded files. | ||
*/ | ||
// https://github.com/eslint/eslint/blob/762a8727fb3b5619cff900826053b643ca5f1162/lib/shared/types.js#L59 | ||
excludedFiles?: string | string[]; | ||
@@ -34,3 +42,3 @@ /** | ||
* | ||
* @see [Globals](https://ESLint.org/docs/user-guide/configuring/language-options#specifying-globals) | ||
* @see [Globals](https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-globals) | ||
*/ | ||
@@ -37,0 +45,0 @@ globals?: Record< |
@@ -6,2 +6,3 @@ import type { LiteralUnion } from '../utility-types'; | ||
| '@typescript-eslint' | ||
| 'deprecation' | ||
| 'import' | ||
@@ -12,2 +13,4 @@ | 'inclusive-language' | ||
| 'prettier' | ||
| 'promise' | ||
| 'sonarjs' | ||
| 'spellcheck' | ||
@@ -14,0 +17,0 @@ | 'unicorn' |
@@ -8,7 +8,7 @@ import type { LiteralUnion } from './utility-types'; | ||
* | ||
* - A version: es3, es5, es6, es7, es8, es9, es10, es11, es12, es13, ... | ||
* - A year: es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, ... | ||
* - A version: es3, es5, es6, es7, es8, es9, es10, es11, es12, es13, es14, ... | ||
* - A year: es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, ... | ||
* - 'latest' | ||
* | ||
* @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsecmaversion | ||
* @see https://typescript-eslint.io/architecture/parser/#ecmaversion | ||
*/ | ||
@@ -26,2 +26,3 @@ export type EcmaVersion = | ||
| 13 | ||
| 14 | ||
| 2015 | ||
@@ -35,2 +36,3 @@ | 2016 | ||
| 2022 | ||
| 2023 | ||
| 'latest'; | ||
@@ -45,2 +47,5 @@ | ||
* An object indicating which additional language features you'd like to use. | ||
* | ||
* @see https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-parser-options | ||
* @see https://typescript-eslint.io/architecture/parser#ecmafeatures | ||
*/ | ||
@@ -136,3 +141,6 @@ export interface EcmaFeatures extends Partial<Record<string, boolean>> { | ||
export type Parser = LiteralUnion< | ||
'babel-eslint' | '@typescript-eslint/parser' | 'vue-eslint-parser' | ||
| 'babel-eslint' | ||
| '@typescript-eslint/parser' | ||
| 'jsonc-eslint-parser' | ||
| 'vue-eslint-parser' | ||
>; | ||
@@ -149,4 +157,4 @@ | ||
* | ||
* - A version: es3, es5, es6, es7, es8, es9, es10, es11, es12, es13, ..., or | ||
* - A year: es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, ..., or | ||
* - A version: es3, es5, es6, es7, es8, es9, es10, es11, es12, es13, es14, ..., or | ||
* - A year: es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, ..., or | ||
* - `'latest'` | ||
@@ -159,3 +167,4 @@ * | ||
* @default 2018 | ||
* @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsecmaversion | ||
* | ||
* @see https://typescript-eslint.io/architecture/parser/#ecmaversion | ||
*/ | ||
@@ -166,2 +175,6 @@ ecmaVersion?: EcmaVersion; | ||
* Set to "script" (default) or "module" if your code is in ECMAScript modules. | ||
* | ||
* @default 'script' | ||
* | ||
* @see https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-parser-options | ||
*/ | ||
@@ -172,11 +185,47 @@ sourceType?: SourceType; | ||
* An object indicating which additional language features you'd like to use. | ||
* | ||
* @see https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-parser-options | ||
* @see https://typescript-eslint.io/architecture/parser#ecmafeatures | ||
*/ | ||
ecmaFeatures?: EcmaFeatures; | ||
/** | ||
* The identifier that's used for JSX Elements creation (after transpilation). | ||
* If you're using a library other than React (like `preact`), then you should change this value. | ||
* If you are using the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) you can set this to `null`. | ||
* | ||
* This should not be a member expression - just the root identifier (i.e. use `"React"` instead of `"React.createElement"`). | ||
* | ||
* If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler. | ||
* | ||
* @default 'React' | ||
* | ||
* @see [jsxPragma](https://typescript-eslint.io/architecture/parser#jsxpragma) | ||
*/ | ||
jsxPragma?: string; | ||
/** | ||
* The identifier that's used for JSX fragment elements (after transpilation). | ||
* If `null`, assumes transpilation will always use a member of the configured `jsxPragma`. | ||
* This should not be a member expression - just the root identifier (i.e. use `"h"` instead of `"h.Fragment"`). | ||
* | ||
* If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler. | ||
* | ||
* @default null | ||
* | ||
* @see [jsxFragmentName](https://typescript-eslint.io/architecture/parser#jsxfragmentname) | ||
*/ | ||
jsxFragmentName?: string | null; | ||
/** | ||
* @see [lib](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionslib) | ||
* For valid options, see the [TypeScript compiler options](https://www.typescriptlang.org/tsconfig#lib). | ||
* | ||
* Specifies the TypeScript `libs` that are available. | ||
* This is used by the scope analyser to ensure there are global variables declared for the types exposed by TypeScript. | ||
* | ||
* If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler. | ||
* | ||
* @default ['es2018'] | ||
* | ||
* @see [lib](https://typescript-eslint.io/architecture/parser/#lib) | ||
*/ | ||
@@ -199,3 +248,3 @@ lib?: Lib[]; | ||
* | ||
* @see [extraFileExtensions](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsextrafileextensions) | ||
* @see [extraFileExtensions](https://typescript-eslint.io/architecture/parser/#extrafileextensions) | ||
*/ | ||
@@ -217,3 +266,10 @@ extraFileExtensions?: string[]; | ||
/** | ||
* @see [project](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsproject) | ||
* This option allows you to provide a path to your project's `tsconfig.json`. | ||
* **This setting is required if you want to use rules which require type information.** | ||
* Relative paths are interpreted relative to the current working directory if `tsconfigRootDir` is not set. | ||
* If you intend on running ESLint from directories other than the project root, you should consider using `tsconfigRootDir`. | ||
* | ||
* @default undefined | ||
* | ||
* @see [project](https://typescript-eslint.io/architecture/parser/#project) | ||
*/ | ||
@@ -223,3 +279,12 @@ project?: string | string[]; | ||
/** | ||
* @see [projectFolderIgnoreList](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsprojectfolderignorelist) | ||
* This option allows you to ignore folders from being included in your provided list of `project`s. | ||
* This is useful if you have configured glob patterns, but want to make sure you ignore certain folders. | ||
* | ||
* It accepts an array of globs to exclude from the `project` globs. | ||
* | ||
* For example, by default it will ensure that a glob like `./**/tsconfig.json` will not match any `tsconfigs` within your `node_modules` folder (some npm packages do not exclude their source files from their published packages). | ||
* | ||
* @default ['**/node_modules/**'] | ||
* | ||
* @see [projectFolderIgnoreList](https://typescript-eslint.io/architecture/parser/#projectfolderignorelist) | ||
*/ | ||
@@ -235,3 +300,3 @@ projectFolderIgnoreList?: Array<string | RegExp>; | ||
* | ||
* @see [tsconfigRootDir](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionstsconfigrootdir) | ||
* @see [tsconfigRootDir](https://typescript-eslint.io/architecture/parser/#tsconfigrootdir) | ||
*/ | ||
@@ -247,3 +312,3 @@ tsconfigRootDir?: string; | ||
* | ||
* @see [warnOnUnsupportedTypeScriptVersion](https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/parser#parseroptionswarnonunsupportedtypescriptversion) | ||
* @see [warnOnUnsupportedTypeScriptVersion](https://typescript-eslint.io/architecture/parser/#warnonunsupportedtypescriptversion) | ||
*/ | ||
@@ -253,3 +318,3 @@ warnOnUnsupportedTypeScriptVersion?: boolean; | ||
/** | ||
* This option allow you to tell parser to act as if `emitDecoratorMetadata: true` is set in `tsconfig.json`, but without [type-aware linting](https://typescript-eslint.io/docs/linting/type-linting/). | ||
* This option allow you to tell parser to act as if `emitDecoratorMetadata: true` is set in `tsconfig.json`, but without [type-aware linting](https://typescript-eslint.io/linting/typed-linting). | ||
* In other words, you don't have to specify `parserOptions.project` in this case, making the linting process faster. | ||
@@ -259,3 +324,3 @@ * | ||
* | ||
* @see [emitDecoratorMetadata](https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/parser#parseroptionsemitdecoratormetadata) | ||
* @see [emitDecoratorMetadata](https://typescript-eslint.io/architecture/parser/#emitdecoratormetadata) | ||
*/ | ||
@@ -262,0 +327,0 @@ emitDecoratorMetadata?: boolean; |
@@ -22,2 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceForFunctionPrototypeMethods?: boolean; | ||
allowParensAfterCommentPattern?: string; | ||
}, | ||
@@ -24,0 +25,0 @@ ]; |
@@ -12,2 +12,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreDefaultValues?: boolean; | ||
ignoreClassFieldInitialValues?: boolean; | ||
} | ||
@@ -14,0 +15,0 @@ |
@@ -14,2 +14,4 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceInClassFields?: boolean; | ||
allowInArrayDestructuring?: boolean; | ||
allowInObjectDestructuring?: boolean; | ||
} | ||
@@ -16,0 +18,0 @@ |
@@ -0,7 +1,12 @@ | ||
import type { DeprecationRules } from './deprecation'; | ||
import type { EslintRules } from './eslint'; | ||
import type { EslintCommentsRules } from './eslint-comments'; | ||
import type { ImportRules } from './import'; | ||
import type { JSDocRules } from './jsdoc'; | ||
import type { JsoncRules } from './jsonc'; | ||
import type { NRules } from './n'; | ||
import type { NodeRules } from './node'; | ||
import type { PromiseRules } from './promise'; | ||
import type { RuleConfig } from './rule-config'; | ||
import type { SonarJSRules } from './sonarjs'; | ||
import type { SpellcheckRules } from './spellcheck'; | ||
@@ -20,7 +25,12 @@ import type { TypeScriptRules } from './typescript-eslint'; | ||
export type Rules = Partial< | ||
EslintRules & | ||
DeprecationRules & | ||
EslintRules & | ||
EslintCommentsRules & | ||
ImportRules & | ||
JSDocRules & | ||
JsoncRules & | ||
NodeRules & | ||
NRules & | ||
PromiseRules & | ||
SonarJSRules & | ||
SpellcheckRules & | ||
@@ -27,0 +37,0 @@ TypeScriptRules & |
@@ -11,2 +11,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreRequire?: boolean; | ||
enableUpperCaseUnderscoreCheck?: boolean; | ||
templates?: boolean; | ||
@@ -13,0 +14,0 @@ lang?: string; |
@@ -9,2 +9,3 @@ import type { RuleConfig } from '../rule-config'; | ||
disallowTypeAnnotations?: boolean; | ||
fixStyle?: 'separate-type-imports' | 'inline-type-imports'; | ||
} | ||
@@ -11,0 +12,0 @@ |
@@ -282,2 +282,6 @@ import type { RuleConfig } from '../rule-config'; | ||
}; | ||
type?: { | ||
before?: boolean; | ||
after?: boolean; | ||
}; | ||
}; | ||
@@ -284,0 +288,0 @@ } |
@@ -31,3 +31,5 @@ import type { RuleConfig } from '../rule-config'; | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -52,19 +54,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -93,3 +82,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -114,3 +105,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -128,3 +121,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
) | ||
@@ -152,3 +146,5 @@ | ( | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -173,19 +169,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -214,3 +197,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -235,3 +220,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -249,3 +236,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
)[] | ||
@@ -277,3 +265,5 @@ )[] | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -298,19 +288,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -339,3 +316,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -360,3 +339,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -374,3 +355,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
) | ||
@@ -398,3 +380,5 @@ | ( | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -419,19 +403,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -460,3 +431,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -481,3 +454,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -495,3 +470,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
)[] | ||
@@ -506,2 +482,3 @@ )[] | ||
| 'natural-case-insensitive'; | ||
optionalityOrder?: 'optional-first' | 'required-first'; | ||
}; | ||
@@ -532,3 +509,5 @@ classes?: | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -553,19 +532,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -594,3 +560,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -615,3 +583,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -629,3 +599,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
) | ||
@@ -653,3 +624,5 @@ | ( | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -674,19 +647,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -715,3 +675,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -736,3 +698,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -750,3 +714,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
)[] | ||
@@ -778,3 +743,5 @@ )[] | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -799,19 +766,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -840,3 +794,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -861,3 +817,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -875,3 +833,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
) | ||
@@ -899,3 +858,5 @@ | ( | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -920,19 +881,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -961,3 +909,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -982,3 +932,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -996,3 +948,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
)[] | ||
@@ -1007,2 +960,3 @@ )[] | ||
| 'natural-case-insensitive'; | ||
optionalityOrder?: 'optional-first' | 'required-first'; | ||
}; | ||
@@ -1033,3 +987,5 @@ classExpressions?: | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -1054,19 +1010,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -1095,3 +1038,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -1116,3 +1061,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -1130,3 +1077,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
) | ||
@@ -1154,3 +1102,5 @@ | ( | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -1175,19 +1125,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -1216,3 +1153,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -1237,3 +1176,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -1251,3 +1192,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
)[] | ||
@@ -1279,3 +1221,5 @@ )[] | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -1300,19 +1244,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -1341,3 +1272,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -1362,3 +1295,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -1376,3 +1311,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
) | ||
@@ -1400,3 +1336,5 @@ | ( | ||
| 'private-instance-field' | ||
| 'private-abstract-field' | ||
| '#private-field' | ||
| '#private-static-field' | ||
| '#private-instance-field' | ||
| 'method' | ||
@@ -1421,19 +1359,6 @@ | 'public-method' | ||
| 'private-instance-method' | ||
| 'private-abstract-method' | ||
| '#private-method' | ||
| '#private-static-method' | ||
| '#private-instance-method' | ||
| 'call-signature' | ||
| 'public-call-signature' | ||
| 'static-call-signature' | ||
| 'public-static-call-signature' | ||
| 'instance-call-signature' | ||
| 'public-instance-call-signature' | ||
| 'abstract-call-signature' | ||
| 'public-abstract-call-signature' | ||
| 'protected-call-signature' | ||
| 'protected-static-call-signature' | ||
| 'protected-instance-call-signature' | ||
| 'protected-abstract-call-signature' | ||
| 'private-call-signature' | ||
| 'private-static-call-signature' | ||
| 'private-instance-call-signature' | ||
| 'private-abstract-call-signature' | ||
| 'constructor' | ||
@@ -1462,3 +1387,5 @@ | 'public-constructor' | ||
| 'private-instance-get' | ||
| 'private-abstract-get' | ||
| '#private-get' | ||
| '#private-static-get' | ||
| '#private-instance-get' | ||
| 'set' | ||
@@ -1483,3 +1410,5 @@ | 'public-set' | ||
| 'private-instance-set' | ||
| 'private-abstract-set' | ||
| '#private-set' | ||
| '#private-static-set' | ||
| '#private-instance-set' | ||
| 'static-initialization' | ||
@@ -1497,3 +1426,4 @@ | 'static-static-initialization' | ||
| 'private-instance-static-initialization' | ||
| 'private-abstract-static-initialization' | ||
| '#private-static-static-initialization' | ||
| '#private-instance-static-initialization' | ||
)[] | ||
@@ -1508,2 +1438,3 @@ )[] | ||
| 'natural-case-insensitive'; | ||
optionalityOrder?: 'optional-first' | 'required-first'; | ||
}; | ||
@@ -1529,2 +1460,3 @@ interfaces?: | ||
| 'natural-case-insensitive'; | ||
optionalityOrder?: 'optional-first' | 'required-first'; | ||
}; | ||
@@ -1550,2 +1482,3 @@ typeLiterals?: | ||
| 'natural-case-insensitive'; | ||
optionalityOrder?: 'optional-first' | 'required-first'; | ||
}; | ||
@@ -1552,0 +1485,0 @@ } |
@@ -85,2 +85,4 @@ import type { RuleConfig } from '../rule-config'; | ||
| 'requiresQuotes' | ||
| 'override' | ||
| 'async' | ||
)[]; | ||
@@ -143,2 +145,4 @@ types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
| 'requiresQuotes' | ||
| 'override' | ||
| 'async' | ||
)[]; | ||
@@ -187,3 +191,3 @@ } | ||
selector: 'variableLike'; | ||
modifiers?: 'unused'[]; | ||
modifiers?: ('unused' | 'async')[]; | ||
} | ||
@@ -237,2 +241,3 @@ | { | ||
| 'unused' | ||
| 'async' | ||
)[]; | ||
@@ -282,3 +287,3 @@ types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
selector: 'function'; | ||
modifiers?: ('exported' | 'global' | 'unused')[]; | ||
modifiers?: ('exported' | 'global' | 'unused' | 'async')[]; | ||
} | ||
@@ -378,2 +383,4 @@ | { | ||
| 'static' | ||
| 'override' | ||
| 'async' | ||
)[]; | ||
@@ -430,2 +437,3 @@ } | ||
| 'static' | ||
| 'override' | ||
)[]; | ||
@@ -615,2 +623,4 @@ types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
| 'static' | ||
| 'override' | ||
| 'async' | ||
)[]; | ||
@@ -667,2 +677,4 @@ types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
| 'static' | ||
| 'override' | ||
| 'async' | ||
)[]; | ||
@@ -711,3 +723,3 @@ } | ||
selector: 'objectLiteralMethod'; | ||
modifiers?: ('public' | 'requiresQuotes')[]; | ||
modifiers?: ('public' | 'requiresQuotes' | 'async')[]; | ||
} | ||
@@ -805,2 +817,4 @@ | { | ||
| 'static' | ||
| 'override' | ||
| 'async' | ||
)[]; | ||
@@ -856,2 +870,3 @@ } | ||
| 'static' | ||
| 'override' | ||
)[]; | ||
@@ -858,0 +873,0 @@ types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; |
@@ -22,2 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceForFunctionPrototypeMethods?: boolean; | ||
allowParensAfterCommentPattern?: string; | ||
}, | ||
@@ -24,0 +25,0 @@ ]; |
@@ -12,2 +12,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreDefaultValues?: boolean; | ||
ignoreClassFieldInitialValues?: boolean; | ||
ignoreNumericLiteralTypes?: boolean; | ||
@@ -14,0 +15,0 @@ ignoreEnums?: boolean; |
@@ -10,3 +10,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreMixedLogicalExpressions?: boolean; | ||
forceSuggestionFixer?: boolean; | ||
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean; | ||
} | ||
@@ -13,0 +13,0 @@ |
import type { RuleConfig } from '../rule-config'; | ||
/** | ||
* Enforce using concise optional chain expressions instead of chained logical ands. | ||
* Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects. | ||
* | ||
@@ -11,3 +11,3 @@ * @see [prefer-optional-chain](https://typescript-eslint.io/rules/prefer-optional-chain) | ||
/** | ||
* Enforce using concise optional chain expressions instead of chained logical ands. | ||
* Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects. | ||
* | ||
@@ -18,3 +18,3 @@ * @see [prefer-optional-chain](https://typescript-eslint.io/rules/prefer-optional-chain) | ||
/** | ||
* Enforce using concise optional chain expressions instead of chained logical ands. | ||
* Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects. | ||
* | ||
@@ -21,0 +21,0 @@ * @see [prefer-optional-chain](https://typescript-eslint.io/rules/prefer-optional-chain) |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/better-regex.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type BetterRegexRuleConfig = RuleConfig<BetterRegexOptions>; | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/better-regex.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface BetterRegexRule { | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/better-regex.md) | ||
*/ | ||
'unicorn/better-regex': BetterRegexRuleConfig; | ||
} |
@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/catch-error-name.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type CatchErrorNameRuleConfig = RuleConfig<CatchErrorNameOptions>; | ||
* | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/catch-error-name.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface CatchErrorNameRule { | ||
* | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/catch-error-name.md) | ||
*/ | ||
'unicorn/catch-error-name': CatchErrorNameRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/consistent-destructuring.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type ConsistentDestructuringRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/consistent-destructuring.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface ConsistentDestructuringRule { | ||
* | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/consistent-destructuring.md) | ||
*/ | ||
'unicorn/consistent-destructuring': ConsistentDestructuringRuleConfig; | ||
} |
@@ -20,3 +20,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/consistent-function-scoping.md) | ||
*/ | ||
@@ -29,3 +29,3 @@ export type ConsistentFunctionScopingRuleConfig = | ||
* | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/consistent-function-scoping.md) | ||
*/ | ||
@@ -36,5 +36,5 @@ export interface ConsistentFunctionScopingRule { | ||
* | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/consistent-function-scoping.md) | ||
*/ | ||
'unicorn/consistent-function-scoping': ConsistentFunctionScopingRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/custom-error-definition.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type CustomErrorDefinitionRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/custom-error-definition.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface CustomErrorDefinitionRule { | ||
* | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/custom-error-definition.md) | ||
*/ | ||
'unicorn/custom-error-definition': CustomErrorDefinitionRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/empty-brace-spaces.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type EmptyBraceSpacesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/empty-brace-spaces.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface EmptyBraceSpacesRule { | ||
* | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/empty-brace-spaces.md) | ||
*/ | ||
'unicorn/empty-brace-spaces': EmptyBraceSpacesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/error-message.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type ErrorMessageRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/error-message.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface ErrorMessageRule { | ||
* | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/error-message.md) | ||
*/ | ||
'unicorn/error-message': ErrorMessageRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/escape-case.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type EscapeCaseRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/escape-case.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface EscapeCaseRule { | ||
* | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/escape-case.md) | ||
*/ | ||
'unicorn/escape-case': EscapeCaseRuleConfig; | ||
} |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/expiring-todo-comments.md) | ||
*/ | ||
@@ -31,3 +31,3 @@ export type ExpiringTodoCommentsRuleConfig = | ||
* | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/expiring-todo-comments.md) | ||
*/ | ||
@@ -38,5 +38,5 @@ export interface ExpiringTodoCommentsRule { | ||
* | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/expiring-todo-comments.md) | ||
*/ | ||
'unicorn/expiring-todo-comments': ExpiringTodoCommentsRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/explicit-length-check.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type ExplicitLengthCheckRuleConfig = | ||
* | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/explicit-length-check.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface ExplicitLengthCheckRule { | ||
* | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/explicit-length-check.md) | ||
*/ | ||
'unicorn/explicit-length-check': ExplicitLengthCheckRuleConfig; | ||
} |
@@ -29,3 +29,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/filename-case.md) | ||
*/ | ||
@@ -37,3 +37,3 @@ export type FilenameCaseRuleConfig = RuleConfig<FilenameCaseOptions>; | ||
* | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/filename-case.md) | ||
*/ | ||
@@ -44,5 +44,5 @@ export interface FilenameCaseRule { | ||
* | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/filename-case.md) | ||
*/ | ||
'unicorn/filename-case': FilenameCaseRuleConfig; | ||
} |
@@ -35,3 +35,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/import-style.md) | ||
*/ | ||
@@ -43,3 +43,3 @@ export type ImportStyleRuleConfig = RuleConfig<ImportStyleOptions>; | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/import-style.md) | ||
*/ | ||
@@ -50,5 +50,5 @@ export interface ImportStyleRule { | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/import-style.md) | ||
*/ | ||
'unicorn/import-style': ImportStyleRuleConfig; | ||
} |
@@ -33,2 +33,3 @@ import type { BetterRegexRule } from './better-regex'; | ||
import type { NoLonelyIfRule } from './no-lonely-if'; | ||
import type { NoNegatedConditionRule } from './no-negated-condition'; | ||
import type { NoNestedTernaryRule } from './no-nested-ternary'; | ||
@@ -44,2 +45,3 @@ import type { NoNewArrayRule } from './no-new-array'; | ||
import type { NoThisAssignmentRule } from './no-this-assignment'; | ||
import type { NoTypeofUndefinedRule } from './no-typeof-undefined'; | ||
import type { NoUnnecessaryAwaitRule } from './no-unnecessary-await'; | ||
@@ -102,2 +104,3 @@ import type { NoUnreadableArrayDestructuringRule } from './no-unreadable-array-destructuring'; | ||
import type { PreferSetHasRule } from './prefer-set-has'; | ||
import type { PreferSetSizeRule } from './prefer-set-size'; | ||
import type { PreferSpreadRule } from './prefer-spread'; | ||
@@ -159,2 +162,3 @@ import type { PreferStartsEndsWithRule } from './prefer-starts-ends-with'; | ||
NoLonelyIfRule & | ||
NoNegatedConditionRule & | ||
NoNestedTernaryRule & | ||
@@ -169,2 +173,3 @@ NoNewArrayRule & | ||
NoThisAssignmentRule & | ||
NoTypeofUndefinedRule & | ||
NoUnnecessaryAwaitRule & | ||
@@ -219,2 +224,3 @@ NoUnreadableArrayDestructuringRule & | ||
PreferSetHasRule & | ||
PreferSetSizeRule & | ||
PreferSpreadRule & | ||
@@ -221,0 +227,0 @@ PreferStringReplaceAllRule & |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/new-for-builtins.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NewForBuiltinsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/new-for-builtins.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NewForBuiltinsRule { | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/new-for-builtins.md) | ||
*/ | ||
'unicorn/new-for-builtins': NewForBuiltinsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-abusive-eslint-disable.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoAbusiveEslintDisableRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-abusive-eslint-disable.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoAbusiveEslintDisableRule { | ||
* | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-abusive-eslint-disable.md) | ||
*/ | ||
'unicorn/no-abusive-eslint-disable': NoAbusiveEslintDisableRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoArrayCallbackReferenceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoArrayCallbackReferenceRule { | ||
* | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
'unicorn/no-array-callback-reference': NoArrayCallbackReferenceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-for-each.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoArrayForEachRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-for-each.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoArrayForEachRule { | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-for-each.md) | ||
*/ | ||
'unicorn/no-array-for-each': NoArrayForEachRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type NoArrayInstanceofRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface NoArrayInstanceofRule { | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
'unicorn/no-array-instanceof': NoArrayInstanceofRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-method-this-argument.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoArrayMethodThisArgumentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-method-this-argument.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoArrayMethodThisArgumentRule { | ||
* | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-method-this-argument.md) | ||
*/ | ||
'unicorn/no-array-method-this-argument': NoArrayMethodThisArgumentRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-push-push.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type NoArrayPushPushRuleConfig = RuleConfig<NoArrayPushPushOptions>; | ||
* | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-push-push.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface NoArrayPushPushRule { | ||
* | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-push-push.md) | ||
*/ | ||
'unicorn/no-array-push-push': NoArrayPushPushRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-reduce.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type NoArrayReduceRuleConfig = RuleConfig<NoArrayReduceOptions>; | ||
* | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-reduce.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface NoArrayReduceRule { | ||
* | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-array-reduce.md) | ||
*/ | ||
'unicorn/no-array-reduce': NoArrayReduceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-await-expression-member.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoAwaitExpressionMemberRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-await-expression-member.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoAwaitExpressionMemberRule { | ||
* | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-await-expression-member.md) | ||
*/ | ||
'unicorn/no-await-expression-member': NoAwaitExpressionMemberRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-console-spaces.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoConsoleSpacesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-console-spaces.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoConsoleSpacesRule { | ||
* | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-console-spaces.md) | ||
*/ | ||
'unicorn/no-console-spaces': NoConsoleSpacesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-document-cookie.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoDocumentCookieRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-document-cookie.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoDocumentCookieRule { | ||
* | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-document-cookie.md) | ||
*/ | ||
'unicorn/no-document-cookie': NoDocumentCookieRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-empty-file.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoEmptyFileRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-empty-file.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoEmptyFileRule { | ||
* | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-empty-file.md) | ||
*/ | ||
'unicorn/no-empty-file': NoEmptyFileRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type NoFnReferenceInIteratorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface NoFnReferenceInIteratorRule { | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
'unicorn/no-fn-reference-in-iterator': NoFnReferenceInIteratorRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-for-loop.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoForLoopRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-for-loop.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoForLoopRule { | ||
* | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-for-loop.md) | ||
*/ | ||
'unicorn/no-for-loop': NoForLoopRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-hex-escape.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoHexEscapeRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-hex-escape.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoHexEscapeRule { | ||
* | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-hex-escape.md) | ||
*/ | ||
'unicorn/no-hex-escape': NoHexEscapeRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-instanceof-array.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoInstanceofArrayRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-instanceof-array.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoInstanceofArrayRule { | ||
* | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-instanceof-array.md) | ||
*/ | ||
'unicorn/no-instanceof-array': NoInstanceofArrayRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoInvalidRemoveEventListenerRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoInvalidRemoveEventListenerRule { | ||
* | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
'unicorn/no-invalid-remove-event-listener': NoInvalidRemoveEventListenerRuleConfig; | ||
} |
@@ -23,3 +23,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
@@ -31,3 +31,3 @@ export type NoKeywordPrefixRuleConfig = RuleConfig<NoKeywordPrefixOptions>; | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
@@ -38,5 +38,5 @@ export interface NoKeywordPrefixRule { | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
'unicorn/no-keyword-prefix': NoKeywordPrefixRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-lonely-if.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoLonelyIfRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-lonely-if.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoLonelyIfRule { | ||
* | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-lonely-if.md) | ||
*/ | ||
'unicorn/no-lonely-if': NoLonelyIfRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-nested-ternary.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoNestedTernaryRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-nested-ternary.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoNestedTernaryRule { | ||
* | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-nested-ternary.md) | ||
*/ | ||
'unicorn/no-nested-ternary': NoNestedTernaryRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-new-array.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoNewArrayRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-new-array.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoNewArrayRule { | ||
* | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-new-array.md) | ||
*/ | ||
'unicorn/no-new-array': NoNewArrayRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-new-buffer.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoNewBufferRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-new-buffer.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoNewBufferRule { | ||
* | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-new-buffer.md) | ||
*/ | ||
'unicorn/no-new-buffer': NoNewBufferRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-null.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type NoNullRuleConfig = RuleConfig<NoNullOptions>; | ||
* | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-null.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface NoNullRule { | ||
* | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-null.md) | ||
*/ | ||
'unicorn/no-null': NoNullRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-object-as-default-parameter.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoObjectAsDefaultParameterRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-object-as-default-parameter.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoObjectAsDefaultParameterRule { | ||
* | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-object-as-default-parameter.md) | ||
*/ | ||
'unicorn/no-object-as-default-parameter': NoObjectAsDefaultParameterRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-process-exit.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoProcessExitRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-process-exit.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoProcessExitRule { | ||
* | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-process-exit.md) | ||
*/ | ||
'unicorn/no-process-exit': NoProcessExitRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type NoReduceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface NoReduceRule { | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
'unicorn/no-reduce': NoReduceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-static-only-class.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoStaticOnlyClassRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-static-only-class.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoStaticOnlyClassRule { | ||
* | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-static-only-class.md) | ||
*/ | ||
'unicorn/no-static-only-class': NoStaticOnlyClassRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-thenable.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoThenableRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-thenable.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoThenableRule { | ||
* | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-thenable.md) | ||
*/ | ||
'unicorn/no-thenable': NoThenableRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-this-assignment.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoThisAssignmentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-this-assignment.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoThisAssignmentRule { | ||
* | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-this-assignment.md) | ||
*/ | ||
'unicorn/no-this-assignment': NoThisAssignmentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unnecessary-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unnecessary-await.md) | ||
* @see [no-unnecessary-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unnecessary-await.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnnecessaryAwaitRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unnecessary-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unnecessary-await.md) | ||
* @see [no-unnecessary-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unnecessary-await.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnnecessaryAwaitRule { | ||
* | ||
* @see [no-unnecessary-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unnecessary-await.md) | ||
* @see [no-unnecessary-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unnecessary-await.md) | ||
*/ | ||
'unicorn/no-unnecessary-await': NoUnnecessaryAwaitRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unreadable-array-destructuring.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnreadableArrayDestructuringRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unreadable-array-destructuring.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnreadableArrayDestructuringRule { | ||
* | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unreadable-array-destructuring.md) | ||
*/ | ||
'unicorn/no-unreadable-array-destructuring': NoUnreadableArrayDestructuringRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unreadable-iife.md) | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unreadable-iife.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnreadableIifeRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unreadable-iife.md) | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unreadable-iife.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnreadableIifeRule { | ||
* | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unreadable-iife.md) | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unreadable-iife.md) | ||
*/ | ||
'unicorn/no-unreadable-iife': NoUnreadableIifeRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unsafe-regex.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnsafeRegexRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unsafe-regex.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnsafeRegexRule { | ||
* | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unsafe-regex.md) | ||
*/ | ||
'unicorn/no-unsafe-regex': NoUnsafeRegexRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unused-properties.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnusedPropertiesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unused-properties.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnusedPropertiesRule { | ||
* | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-unused-properties.md) | ||
*/ | ||
'unicorn/no-unused-properties': NoUnusedPropertiesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-fallback-in-spread.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessFallbackInSpreadRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-fallback-in-spread.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessFallbackInSpreadRule { | ||
* | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-fallback-in-spread.md) | ||
*/ | ||
'unicorn/no-useless-fallback-in-spread': NoUselessFallbackInSpreadRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-length-check.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessLengthCheckRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-length-check.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessLengthCheckRule { | ||
* | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-length-check.md) | ||
*/ | ||
'unicorn/no-useless-length-check': NoUselessLengthCheckRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-promise-resolve-reject.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessPromiseResolveRejectRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-promise-resolve-reject.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessPromiseResolveRejectRule { | ||
* | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-promise-resolve-reject.md) | ||
*/ | ||
'unicorn/no-useless-promise-resolve-reject': NoUselessPromiseResolveRejectRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-spread.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessSpreadRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-spread.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessSpreadRule { | ||
* | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-spread.md) | ||
*/ | ||
'unicorn/no-useless-spread': NoUselessSpreadRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-switch-case.md) | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-switch-case.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessSwitchCaseRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-switch-case.md) | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-switch-case.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessSwitchCaseRule { | ||
* | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-switch-case.md) | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-switch-case.md) | ||
*/ | ||
'unicorn/no-useless-switch-case': NoUselessSwitchCaseRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-undefined.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type NoUselessUndefinedRuleConfig = | ||
* | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-undefined.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface NoUselessUndefinedRule { | ||
* | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-useless-undefined.md) | ||
*/ | ||
'unicorn/no-useless-undefined': NoUselessUndefinedRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-zero-fractions.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoZeroFractionsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-zero-fractions.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoZeroFractionsRule { | ||
* | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/no-zero-fractions.md) | ||
*/ | ||
'unicorn/no-zero-fractions': NoZeroFractionsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/number-literal-case.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NumberLiteralCaseRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/number-literal-case.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NumberLiteralCaseRule { | ||
* | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/number-literal-case.md) | ||
*/ | ||
'unicorn/number-literal-case': NumberLiteralCaseRuleConfig; | ||
} |
@@ -38,3 +38,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/numeric-separators-style.md) | ||
*/ | ||
@@ -47,3 +47,3 @@ export type NumericSeparatorsStyleRuleConfig = | ||
* | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/numeric-separators-style.md) | ||
*/ | ||
@@ -54,5 +54,5 @@ export interface NumericSeparatorsStyleRule { | ||
* | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/numeric-separators-style.md) | ||
*/ | ||
'unicorn/numeric-separators-style': NumericSeparatorsStyleRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type PreferAddEventListenerRuleConfig = | ||
* | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface PreferAddEventListenerRule { | ||
* | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
'unicorn/prefer-add-event-listener': PreferAddEventListenerRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-find.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type PreferArrayFindRuleConfig = RuleConfig<PreferArrayFindOptions>; | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-find.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface PreferArrayFindRule { | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-find.md) | ||
*/ | ||
'unicorn/prefer-array-find': PreferArrayFindRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-flat-map.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArrayFlatMapRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-flat-map.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArrayFlatMapRule { | ||
* | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-flat-map.md) | ||
*/ | ||
'unicorn/prefer-array-flat-map': PreferArrayFlatMapRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-flat.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type PreferArrayFlatRuleConfig = RuleConfig<PreferArrayFlatOptions>; | ||
* | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-flat.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface PreferArrayFlatRule { | ||
* | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-flat.md) | ||
*/ | ||
'unicorn/prefer-array-flat': PreferArrayFlatRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-index-of.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArrayIndexOfRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-index-of.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArrayIndexOfRule { | ||
* | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-index-of.md) | ||
*/ | ||
'unicorn/prefer-array-index-of': PreferArrayIndexOfRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-some.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArraySomeRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-some.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArraySomeRule { | ||
* | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-array-some.md) | ||
*/ | ||
'unicorn/prefer-array-some': PreferArraySomeRuleConfig; | ||
} |
@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-at.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type PreferAtRuleConfig = RuleConfig<PreferAtOptions>; | ||
* | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-at.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface PreferAtRule { | ||
* | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-at.md) | ||
*/ | ||
'unicorn/prefer-at': PreferAtRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-code-point.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferCodePointRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-code-point.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferCodePointRule { | ||
* | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-code-point.md) | ||
*/ | ||
'unicorn/prefer-code-point': PreferCodePointRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferDatasetRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferDatasetRule { | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
'unicorn/prefer-dataset': PreferDatasetRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-date-now.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDateNowRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-date-now.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDateNowRule { | ||
* | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-date-now.md) | ||
*/ | ||
'unicorn/prefer-date-now': PreferDateNowRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-default-parameters.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDefaultParametersRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-default-parameters.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDefaultParametersRule { | ||
* | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-default-parameters.md) | ||
*/ | ||
'unicorn/prefer-default-parameters': PreferDefaultParametersRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-append.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeAppendRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-append.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeAppendRule { | ||
* | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-append.md) | ||
*/ | ||
'unicorn/prefer-dom-node-append': PreferDomNodeAppendRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-dataset.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeDatasetRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-dataset.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeDatasetRule { | ||
* | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-dataset.md) | ||
*/ | ||
'unicorn/prefer-dom-node-dataset': PreferDomNodeDatasetRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-remove.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeRemoveRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-remove.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeRemoveRule { | ||
* | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-remove.md) | ||
*/ | ||
'unicorn/prefer-dom-node-remove': PreferDomNodeRemoveRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeTextContentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeTextContentRule { | ||
* | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
'unicorn/prefer-dom-node-text-content': PreferDomNodeTextContentRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferEventKeyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferEventKeyRule { | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
'unicorn/prefer-event-key': PreferEventKeyRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-event-target](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-event-target.md) | ||
* @see [prefer-event-target](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-event-target.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferEventTargetRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-event-target](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-event-target.md) | ||
* @see [prefer-event-target](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-event-target.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferEventTargetRule { | ||
* | ||
* @see [prefer-event-target](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-event-target.md) | ||
* @see [prefer-event-target](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-event-target.md) | ||
*/ | ||
'unicorn/prefer-event-target': PreferEventTargetRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferExponentiationOperatorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferExponentiationOperatorRule { | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
'unicorn/prefer-exponentiation-operator': PreferExponentiationOperatorRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-export-from.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type PreferExportFromRuleConfig = RuleConfig<PreferExportFromOptions>; | ||
* | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-export-from.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface PreferExportFromRule { | ||
* | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-export-from.md) | ||
*/ | ||
'unicorn/prefer-export-from': PreferExportFromRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferFlatMapRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferFlatMapRule { | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
'unicorn/prefer-flat-map': PreferFlatMapRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-includes.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferIncludesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-includes.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferIncludesRule { | ||
* | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-includes.md) | ||
*/ | ||
'unicorn/prefer-includes': PreferIncludesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-json-parse-buffer.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferJsonParseBufferRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-json-parse-buffer.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferJsonParseBufferRule { | ||
* | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-json-parse-buffer.md) | ||
*/ | ||
'unicorn/prefer-json-parse-buffer': PreferJsonParseBufferRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-keyboard-event-key.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferKeyboardEventKeyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-keyboard-event-key.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferKeyboardEventKeyRule { | ||
* | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-keyboard-event-key.md) | ||
*/ | ||
'unicorn/prefer-keyboard-event-key': PreferKeyboardEventKeyRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-logical-operator-over-ternary.md) | ||
* @see [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-logical-operator-over-ternary.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferLogicalOperatorOverTernaryRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-logical-operator-over-ternary.md) | ||
* @see [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-logical-operator-over-ternary.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferLogicalOperatorOverTernaryRule { | ||
* | ||
* @see [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-logical-operator-over-ternary.md) | ||
* @see [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-logical-operator-over-ternary.md) | ||
*/ | ||
'unicorn/prefer-logical-operator-over-ternary': PreferLogicalOperatorOverTernaryRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-math-trunc.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferMathTruncRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-math-trunc.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferMathTruncRule { | ||
* | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-math-trunc.md) | ||
*/ | ||
'unicorn/prefer-math-trunc': PreferMathTruncRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-modern-dom-apis.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferModernDomApisRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-modern-dom-apis.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferModernDomApisRule { | ||
* | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-modern-dom-apis.md) | ||
*/ | ||
'unicorn/prefer-modern-dom-apis': PreferModernDomApisRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-modern-math-apis.md) | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-modern-math-apis.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferModernMathApisRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-modern-math-apis.md) | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-modern-math-apis.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferModernMathApisRule { | ||
* | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-modern-math-apis.md) | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-modern-math-apis.md) | ||
*/ | ||
'unicorn/prefer-modern-math-apis': PreferModernMathApisRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-module.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferModuleRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-module.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferModuleRule { | ||
* | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-module.md) | ||
*/ | ||
'unicorn/prefer-module': PreferModuleRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-native-coercion-functions.md) | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-native-coercion-functions.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferNativeCoercionFunctionsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-native-coercion-functions.md) | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-native-coercion-functions.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferNativeCoercionFunctionsRule { | ||
* | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-native-coercion-functions.md) | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-native-coercion-functions.md) | ||
*/ | ||
'unicorn/prefer-native-coercion-functions': PreferNativeCoercionFunctionsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-negative-index.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferNegativeIndexRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-negative-index.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferNegativeIndexRule { | ||
* | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-negative-index.md) | ||
*/ | ||
'unicorn/prefer-negative-index': PreferNegativeIndexRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferNodeAppendRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferNodeAppendRule { | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
'unicorn/prefer-node-append': PreferNodeAppendRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferNodeRemoveRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferNodeRemoveRule { | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
'unicorn/prefer-node-remove': PreferNodeRemoveRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-number-properties.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type PreferNumberPropertiesRuleConfig = | ||
* | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-number-properties.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface PreferNumberPropertiesRule { | ||
* | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-number-properties.md) | ||
*/ | ||
'unicorn/prefer-number-properties': PreferNumberPropertiesRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type PreferObjectFromEntriesRuleConfig = | ||
* | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface PreferObjectFromEntriesRule { | ||
* | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
'unicorn/prefer-object-from-entries': PreferObjectFromEntriesRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferObjectHasOwnRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferObjectHasOwnRule { | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
'unicorn/prefer-object-has-own': PreferObjectHasOwnRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-optional-catch-binding.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferOptionalCatchBindingRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-optional-catch-binding.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferOptionalCatchBindingRule { | ||
* | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-optional-catch-binding.md) | ||
*/ | ||
'unicorn/prefer-optional-catch-binding': PreferOptionalCatchBindingRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-prototype-methods.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferPrototypeMethodsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-prototype-methods.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferPrototypeMethodsRule { | ||
* | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-prototype-methods.md) | ||
*/ | ||
'unicorn/prefer-prototype-methods': PreferPrototypeMethodsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-query-selector.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferQuerySelectorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-query-selector.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferQuerySelectorRule { | ||
* | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-query-selector.md) | ||
*/ | ||
'unicorn/prefer-query-selector': PreferQuerySelectorRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-reflect-apply.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferReflectApplyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-reflect-apply.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferReflectApplyRule { | ||
* | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-reflect-apply.md) | ||
*/ | ||
'unicorn/prefer-reflect-apply': PreferReflectApplyRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferRegexpTestRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferRegexpTestRule { | ||
* | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
'unicorn/prefer-regexp-test': PreferRegexpTestRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferReplaceAllRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferReplaceAllRule { | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
'unicorn/prefer-replace-all': PreferReplaceAllRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-set-has.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferSetHasRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-set-has.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferSetHasRule { | ||
* | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-set-has.md) | ||
*/ | ||
'unicorn/prefer-set-has': PreferSetHasRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-spread.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferSpreadRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-spread.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferSpreadRule { | ||
* | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-spread.md) | ||
*/ | ||
'unicorn/prefer-spread': PreferSpreadRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferStartsEndsWithRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferStartsEndsWithRule { | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
'unicorn/prefer-starts-ends-with': PreferStartsEndsWithRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-replace-all.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringReplaceAllRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-replace-all.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringReplaceAllRule { | ||
* | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-replace-all.md) | ||
*/ | ||
'unicorn/prefer-string-replace-all': PreferStringReplaceAllRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-slice.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringSliceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-slice.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringSliceRule { | ||
* | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-slice.md) | ||
*/ | ||
'unicorn/prefer-string-slice': PreferStringSliceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-starts-ends-with.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringStartsEndsWithRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-starts-ends-with.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringStartsEndsWithRule { | ||
* | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-starts-ends-with.md) | ||
*/ | ||
'unicorn/prefer-string-starts-ends-with': PreferStringStartsEndsWithRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-trim-start-end.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringTrimStartEndRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-trim-start-end.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringTrimStartEndRule { | ||
* | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-string-trim-start-end.md) | ||
*/ | ||
'unicorn/prefer-string-trim-start-end': PreferStringTrimStartEndRuleConfig; | ||
} |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-switch.md) | ||
*/ | ||
@@ -30,3 +30,3 @@ export type PreferSwitchRuleConfig = RuleConfig<PreferSwitchOptions>; | ||
* | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-switch.md) | ||
*/ | ||
@@ -37,5 +37,5 @@ export interface PreferSwitchRule { | ||
* | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-switch.md) | ||
*/ | ||
'unicorn/prefer-switch': PreferSwitchRuleConfig; | ||
} |
@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-ternary.md) | ||
*/ | ||
@@ -24,3 +24,3 @@ export type PreferTernaryRuleConfig = RuleConfig<PreferTernaryOptions>; | ||
* | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-ternary.md) | ||
*/ | ||
@@ -31,5 +31,5 @@ export interface PreferTernaryRule { | ||
* | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-ternary.md) | ||
*/ | ||
'unicorn/prefer-ternary': PreferTernaryRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferTextContentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferTextContentRule { | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
'unicorn/prefer-text-content': PreferTextContentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferTopLevelAwaitRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferTopLevelAwaitRule { | ||
* | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
'unicorn/prefer-top-level-await': PreferTopLevelAwaitRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type PreferTrimStartEndRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface PreferTrimStartEndRule { | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
'unicorn/prefer-trim-start-end': PreferTrimStartEndRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-type-error.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferTypeErrorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-type-error.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferTypeErrorRule { | ||
* | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prefer-type-error.md) | ||
*/ | ||
'unicorn/prefer-type-error': PreferTypeErrorRuleConfig; | ||
} |
@@ -40,3 +40,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
@@ -49,3 +49,3 @@ export type PreventAbbreviationsRuleConfig = | ||
* | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
@@ -56,5 +56,5 @@ export interface PreventAbbreviationsRule { | ||
* | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
'unicorn/prevent-abbreviations': PreventAbbreviationsRuleConfig; | ||
} |
@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
@@ -16,3 +16,3 @@ export type RegexShorthandRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
@@ -24,5 +24,5 @@ export interface RegexShorthandRule { | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
'unicorn/regex-shorthand': RegexShorthandRuleConfig; | ||
} |
@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/relative-url-style.md) | ||
*/ | ||
@@ -24,3 +24,3 @@ export type RelativeUrlStyleRuleConfig = RuleConfig<RelativeUrlStyleOptions>; | ||
* | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/relative-url-style.md) | ||
*/ | ||
@@ -31,5 +31,5 @@ export interface RelativeUrlStyleRule { | ||
* | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/relative-url-style.md) | ||
*/ | ||
'unicorn/relative-url-style': RelativeUrlStyleRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-array-join-separator.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type RequireArrayJoinSeparatorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-array-join-separator.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface RequireArrayJoinSeparatorRule { | ||
* | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-array-join-separator.md) | ||
*/ | ||
'unicorn/require-array-join-separator': RequireArrayJoinSeparatorRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-number-to-fixed-digits-argument.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type RequireNumberToFixedDigitsArgumentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-number-to-fixed-digits-argument.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface RequireNumberToFixedDigitsArgumentRule { | ||
* | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-number-to-fixed-digits-argument.md) | ||
*/ | ||
'unicorn/require-number-to-fixed-digits-argument': RequireNumberToFixedDigitsArgumentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-post-message-target-origin.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type RequirePostMessageTargetOriginRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-post-message-target-origin.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface RequirePostMessageTargetOriginRule { | ||
* | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/require-post-message-target-origin.md) | ||
*/ | ||
'unicorn/require-post-message-target-origin': RequirePostMessageTargetOriginRuleConfig; | ||
} |
@@ -26,3 +26,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/string-content.md) | ||
*/ | ||
@@ -34,3 +34,3 @@ export type StringContentRuleConfig = RuleConfig<StringContentOptions>; | ||
* | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/string-content.md) | ||
*/ | ||
@@ -41,5 +41,5 @@ export interface StringContentRule { | ||
* | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/string-content.md) | ||
*/ | ||
'unicorn/string-content': StringContentRuleConfig; | ||
} |
@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/switch-case-braces.md) | ||
* @see [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/switch-case-braces.md) | ||
*/ | ||
@@ -24,3 +24,3 @@ export type SwitchCaseBracesRuleConfig = RuleConfig<SwitchCaseBracesOptions>; | ||
* | ||
* @see [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/switch-case-braces.md) | ||
* @see [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/switch-case-braces.md) | ||
*/ | ||
@@ -31,5 +31,5 @@ export interface SwitchCaseBracesRule { | ||
* | ||
* @see [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/switch-case-braces.md) | ||
* @see [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/switch-case-braces.md) | ||
*/ | ||
'unicorn/switch-case-braces': SwitchCaseBracesRuleConfig; | ||
} |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/template-indent.md) | ||
*/ | ||
@@ -30,3 +30,3 @@ export type TemplateIndentRuleConfig = RuleConfig<TemplateIndentOptions>; | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/template-indent.md) | ||
*/ | ||
@@ -37,5 +37,5 @@ export interface TemplateIndentRule { | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/template-indent.md) | ||
*/ | ||
'unicorn/template-indent': TemplateIndentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/text-encoding-identifier-case.md) | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/text-encoding-identifier-case.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type TextEncodingIdentifierCaseRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/text-encoding-identifier-case.md) | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/text-encoding-identifier-case.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface TextEncodingIdentifierCaseRule { | ||
* | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/text-encoding-identifier-case.md) | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/text-encoding-identifier-case.md) | ||
*/ | ||
'unicorn/text-encoding-identifier-case': TextEncodingIdentifierCaseRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/throw-new-error.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type ThrowNewErrorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/throw-new-error.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface ThrowNewErrorRule { | ||
* | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v44.0.2/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v45.0.2/docs/rules/throw-new-error.md) | ||
*/ | ||
'unicorn/throw-new-error': ThrowNewErrorRuleConfig; | ||
} |
@@ -170,2 +170,3 @@ import type { ArrayBracketNewlineRule } from './array-bracket-newline'; | ||
import type { RequireNamePropertyRule } from './require-name-property'; | ||
import type { RequirePropCommentRule } from './require-prop-comment'; | ||
import type { RequirePropTypeConstructorRule } from './require-prop-type-constructor'; | ||
@@ -394,2 +395,3 @@ import type { RequirePropTypesRule } from './require-prop-types'; | ||
RequireNamePropertyRule & | ||
RequirePropCommentRule & | ||
RequirePropTypeConstructorRule & | ||
@@ -396,0 +398,0 @@ RequirePropTypesRule & |
@@ -22,2 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceForFunctionPrototypeMethods?: boolean; | ||
allowParensAfterCommentPattern?: string; | ||
}, | ||
@@ -24,0 +25,0 @@ ]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1231957
1117
39191
103
39