eslint-define-config
Advanced tools
Comparing version 1.5.1 to 1.6.0
{ | ||
"name": "eslint-define-config", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "Provide a defineConfig function for .eslintrc.js files", | ||
@@ -53,10 +53,10 @@ "main": "src/index.js", | ||
"@intlify/eslint-plugin-vue-i18n": "~2.0.0", | ||
"@types/eslint": "~8.4.2", | ||
"@types/eslint": "~8.4.5", | ||
"@types/json-schema": "~7.0.11", | ||
"@types/node": "~17.0.40", | ||
"@types/prettier": "~2.6.3", | ||
"@typescript-eslint/eslint-plugin": "~5.27.1", | ||
"@typescript-eslint/parser": "~5.27.1", | ||
"@types/node": "~18.6.3", | ||
"@types/prettier": "~2.6.4", | ||
"@typescript-eslint/eslint-plugin": "~5.31.0", | ||
"@typescript-eslint/parser": "~5.31.0", | ||
"change-case": "~4.1.2", | ||
"eslint": "~8.17.0", | ||
"eslint": "~8.20.0", | ||
"eslint-config-prettier": "~8.5.0", | ||
@@ -66,19 +66,19 @@ "eslint-gitignore": "~0.1.0", | ||
"eslint-plugin-inclusive-language": "~2.2.0", | ||
"eslint-plugin-jsdoc": "~39.3.2", | ||
"eslint-plugin-jsdoc": "~39.3.4", | ||
"eslint-plugin-node": "~11.1.0", | ||
"eslint-plugin-prettier": "~4.0.0", | ||
"eslint-plugin-prettier": "~4.2.1", | ||
"eslint-plugin-spellcheck": "~0.0.19", | ||
"eslint-plugin-unicorn": "~42.0.0", | ||
"eslint-plugin-vue": "~9.1.0", | ||
"eslint-plugin-vue-pug": "~0.5.0", | ||
"eslint-plugin-unicorn": "~43.0.2", | ||
"eslint-plugin-vue": "~9.3.0", | ||
"eslint-plugin-vue-pug": "~0.5.4", | ||
"esno": "0.16.3", | ||
"json-schema": "~0.4.0", | ||
"json-schema-to-typescript": "~10.1.5", | ||
"prettier": "2.6.2", | ||
"prettier-plugin-organize-imports": "~2.3.4", | ||
"typescript": "~4.7.3", | ||
"json-schema-to-typescript": "~11.0.1", | ||
"prettier": "2.7.1", | ||
"prettier-plugin-organize-imports": "~3.0.0", | ||
"typescript": "~4.7.4", | ||
"upper-case-first": "~2.0.2", | ||
"vue-eslint-parser": "~9.0.2" | ||
"vue-eslint-parser": "~9.0.3" | ||
}, | ||
"packageManager": "pnpm@7.1.9", | ||
"packageManager": "pnpm@7.8.0", | ||
"engines": { | ||
@@ -85,0 +85,0 @@ "node": ">= 14.6.0", |
@@ -13,2 +13,3 @@ import type { Environments } from './env'; | ||
files: string[] | string; | ||
excludedFiles?: string; | ||
/** | ||
@@ -15,0 +16,0 @@ * An environment provides predefined global variables. |
@@ -11,2 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
properties?: 'always' | 'never'; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
allow?: [] | [string]; | ||
@@ -13,0 +16,0 @@ } |
@@ -109,2 +109,3 @@ import type { AccessorPairsRule } from './accessor-pairs'; | ||
import type { NoEmptyCharacterClassRule } from './no-empty-character-class'; | ||
import type { NoEmptyFunctionRule } from './no-empty-function'; | ||
import type { NoEmptyPatternRule } from './no-empty-pattern'; | ||
@@ -399,2 +400,3 @@ import type { NoEqNullRule } from './no-eq-null'; | ||
NoEmptyCharacterClassRule & | ||
NoEmptyFunctionRule & | ||
NoEmptyPatternRule & | ||
@@ -401,0 +403,0 @@ NoEqNullRule & |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoConsoleOption { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
allow?: [string, ...string[]]; | ||
@@ -9,0 +12,0 @@ } |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedGlobalsOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -29,2 +29,9 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
importNames?: [string, ...string[]]; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
group: [string, ...string[]]; | ||
@@ -31,0 +38,0 @@ message?: string; |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedSyntaxOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -8,2 +8,6 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreCase?: boolean; | ||
/** | ||
* @minItems 4 | ||
* @maxItems 4 | ||
*/ | ||
memberSyntaxSortOrder?: [ | ||
@@ -10,0 +14,0 @@ 'none' | 'all' | 'multiple' | 'single', |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type FirstOption = 'absolute-first' | 'disable-absolute-first'; | ||
export type ImportsFirstOption = 'absolute-first' | 'disable-absolute-first'; | ||
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export type ImportsFirstOptions = [FirstOption?]; | ||
export type ImportsFirstOptions = [ImportsFirstOption?]; | ||
@@ -15,0 +15,0 @@ /** |
@@ -10,2 +10,5 @@ import type { RuleConfig } from '../rule-config'; | ||
esmodule?: boolean; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
ignore?: [string, ...string[]]; | ||
@@ -12,0 +15,0 @@ } |
@@ -10,2 +10,5 @@ import type { RuleConfig } from '../rule-config'; | ||
esmodule?: boolean; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
ignore?: [string, ...string[]]; | ||
@@ -12,0 +15,0 @@ maxDepth?: number | '∞'; |
@@ -10,2 +10,5 @@ import type { RuleConfig } from '../rule-config'; | ||
esmodule?: boolean; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
ignore?: [string, ...string[]]; | ||
@@ -12,0 +15,0 @@ } |
@@ -10,2 +10,5 @@ import type { RuleConfig } from '../rule-config'; | ||
esmodule?: boolean; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
ignore?: [string, ...string[]]; | ||
@@ -12,0 +15,0 @@ } |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoRestrictedPathsOption { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
zones?: [ | ||
@@ -9,0 +12,0 @@ { |
@@ -10,2 +10,5 @@ import type { RuleConfig } from '../rule-config'; | ||
esmodule?: boolean; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
ignore?: [string, ...string[]]; | ||
@@ -12,0 +15,0 @@ caseSensitive?: boolean; |
@@ -21,2 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
* files/paths to be analyzed (only for unused exports) | ||
* | ||
* @minItems 1 | ||
*/ | ||
@@ -26,2 +28,4 @@ src?: [string, ...string[]]; | ||
* files/paths for which unused exports will not be reported (e.g module entry points) | ||
* | ||
* @minItems 1 | ||
*/ | ||
@@ -28,0 +32,0 @@ ignoreExports?: [string, ...string[]]; |
@@ -10,2 +10,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
[k: string]: [string, string]; | ||
@@ -15,9 +19,23 @@ } | ||
{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
}, | ||
...{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
@@ -24,0 +42,0 @@ }[], |
@@ -10,2 +10,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
[k: string]: [string, string]; | ||
@@ -15,9 +19,23 @@ } | ||
{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
}, | ||
...{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
@@ -24,0 +42,0 @@ }[], |
@@ -9,2 +9,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
[k: string]: [string, string]; | ||
@@ -14,9 +18,23 @@ } | ||
{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
}, | ||
...{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
@@ -23,0 +41,0 @@ }[], |
@@ -10,2 +10,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
[k: string]: [string, string]; | ||
@@ -15,9 +19,23 @@ } | ||
{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
}, | ||
...{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
@@ -24,0 +42,0 @@ }[], |
@@ -10,2 +10,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
[k: string]: [string, string]; | ||
@@ -15,9 +19,23 @@ } | ||
{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
}, | ||
...{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
@@ -24,0 +42,0 @@ }[], |
@@ -9,2 +9,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
[k: string]: [string, string]; | ||
@@ -14,9 +18,23 @@ } | ||
{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
}, | ||
...{ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
include: [string, ...string[]]; | ||
exclude?: string[]; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 2 | ||
*/ | ||
replace: [string, string]; | ||
@@ -23,0 +41,0 @@ }[], |
@@ -11,2 +11,3 @@ import type { AdjacentOverloadSignaturesRule } from './adjacent-overload-signatures'; | ||
import type { CommaSpacingRule } from './comma-spacing'; | ||
import type { ConsistentGenericConstructorsRule } from './consistent-generic-constructors'; | ||
import type { ConsistentIndexedObjectStyleRule } from './consistent-indexed-object-style'; | ||
@@ -142,2 +143,3 @@ import type { ConsistentTypeAssertionsRule } from './consistent-type-assertions'; | ||
CommaSpacingRule & | ||
ConsistentGenericConstructorsRule & | ||
ConsistentIndexedObjectStyleRule & | ||
@@ -144,0 +146,0 @@ ConsistentTypeAssertionsRule & |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoParameterPropertiesOption { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
allows?: [ | ||
@@ -9,0 +12,0 @@ ( |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface ParameterPropertiesOption { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
allow?: [ | ||
@@ -9,0 +12,0 @@ ( |
@@ -8,2 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreConditionalTests?: boolean; | ||
ignoreTernaryTests?: boolean; | ||
ignoreMixedLogicalExpressions?: boolean; | ||
@@ -10,0 +11,0 @@ forceSuggestionFixer?: boolean; |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/filename-case.md) | ||
*/ | ||
'unicorn/filename-case': FilenameCaseRuleConfig; | ||
} |
@@ -5,4 +5,9 @@ import type { RuleConfig } from '../rule-config'; | ||
* Option. | ||
* | ||
* @deprecated | ||
*/ | ||
export interface ImportIndexOption { | ||
/** | ||
* @deprecated | ||
*/ | ||
ignoreImports?: boolean; | ||
@@ -13,2 +18,6 @@ } | ||
* Options. | ||
* | ||
* @deprecated | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#import-index) | ||
*/ | ||
@@ -20,2 +29,4 @@ export type ImportIndexOptions = [ImportIndexOption?]; | ||
* | ||
* @deprecated | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/import-index.md) | ||
@@ -28,3 +39,5 @@ */ | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/import-index.md) | ||
* @deprecated | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#import-index) | ||
*/ | ||
@@ -35,5 +48,7 @@ export interface ImportIndexRule { | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/import-index.md) | ||
* @deprecated | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#import-index) | ||
*/ | ||
'unicorn/import-index': ImportIndexRuleConfig; | ||
} |
@@ -35,3 +35,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/import-style.md) | ||
*/ | ||
'unicorn/import-style': ImportStyleRuleConfig; | ||
} |
@@ -72,2 +72,3 @@ import type { BetterRegexRule } from './better-regex'; | ||
import type { PreferEventKeyRule } from './prefer-event-key'; | ||
import type { PreferEventTargetRule } from './prefer-event-target'; | ||
import type { PreferExponentiationOperatorRule } from './prefer-exponentiation-operator'; | ||
@@ -79,2 +80,3 @@ import type { PreferExportFromRule } from './prefer-export-from'; | ||
import type { PreferKeyboardEventKeyRule } from './prefer-keyboard-event-key'; | ||
import type { PreferLogicalOperatorOverTernaryRule } from './prefer-logical-operator-over-ternary'; | ||
import type { PreferMathTruncRule } from './prefer-math-trunc'; | ||
@@ -136,3 +138,2 @@ import type { PreferModernDomApisRule } from './prefer-modern-dom-apis'; | ||
FilenameCaseRule & | ||
ImportIndexRule & | ||
ImportStyleRule & | ||
@@ -192,2 +193,3 @@ NewForBuiltinsRule & | ||
PreferDomNodeTextContentRule & | ||
PreferEventTargetRule & | ||
PreferExportFromRule & | ||
@@ -197,2 +199,3 @@ PreferIncludesRule & | ||
PreferKeyboardEventKeyRule & | ||
PreferLogicalOperatorOverTernaryRule & | ||
PreferMathTruncRule & | ||
@@ -231,2 +234,3 @@ PreferModernDomApisRule & | ||
ThrowNewErrorRule & | ||
ImportIndexRule & | ||
NoArrayInstanceofRule & | ||
@@ -233,0 +237,0 @@ NoFnReferenceInIteratorRule & |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
'unicorn/no-array-callback-reference': NoArrayCallbackReferenceRuleConfig; | ||
} |
import type { RuleConfig } from '../rule-config'; | ||
/** | ||
* Prefer `for…of` over `Array#forEach(…)`. | ||
* Prefer `for…of` over the `forEach` method. | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-array-for-each.md) | ||
*/ | ||
@@ -11,13 +11,13 @@ export type NoArrayForEachRuleConfig = RuleConfig<[]>; | ||
/** | ||
* Prefer `for…of` over `Array#forEach(…)`. | ||
* Prefer `for…of` over the `forEach` method. | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-array-for-each.md) | ||
*/ | ||
export interface NoArrayForEachRule { | ||
/** | ||
* Prefer `for…of` over `Array#forEach(…)`. | ||
* Prefer `for…of` over the `forEach` method. | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-array-for-each.md) | ||
*/ | ||
'unicorn/no-array-for-each': NoArrayForEachRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type NoArrayInstanceofRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface NoArrayInstanceofRule { | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-empty-file.md) | ||
*/ | ||
'unicorn/no-empty-file': NoEmptyFileRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type NoFnReferenceInIteratorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface NoFnReferenceInIteratorRule { | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
'unicorn/no-invalid-remove-event-listener': NoInvalidRemoveEventListenerRuleConfig; | ||
} |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoKeywordPrefixOption { | ||
/** | ||
* @minItems 0 | ||
*/ | ||
disallowedPrefixes?: [] | [string]; | ||
@@ -21,3 +24,3 @@ checkProperties?: boolean; | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
@@ -29,3 +32,3 @@ export type NoKeywordPrefixRuleConfig = RuleConfig<NoKeywordPrefixOptions>; | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
@@ -36,5 +39,5 @@ export interface NoKeywordPrefixRule { | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/no-process-exit.md) | ||
*/ | ||
'unicorn/no-process-exit': NoProcessExitRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type NoReduceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface NoReduceRule { | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unreadable-iife.md) | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unreadable-iife.md) | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unreadable-iife.md) | ||
* @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-switch-case.md) | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-switch-case.md) | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-switch-case.md) | ||
* @see [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
'unicorn/prefer-add-event-listener': PreferAddEventListenerRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-array-find.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArrayFindRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-array-find.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArrayFindRule { | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-code-point.md) | ||
*/ | ||
'unicorn/prefer-code-point': PreferCodePointRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferDatasetRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferDatasetRule { | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
'unicorn/prefer-dom-node-text-content': PreferDomNodeTextContentRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferEventKeyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferEventKeyRule { | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
'unicorn/prefer-event-key': PreferEventKeyRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferExponentiationOperatorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferExponentiationOperatorRule { | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-export-from.md) | ||
*/ | ||
'unicorn/prefer-export-from': PreferExportFromRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferFlatMapRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferFlatMapRule { | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-modern-math-apis.md) | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-modern-math-apis.md) | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-modern-math-apis.md) | ||
* @see [prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-native-coercion-functions.md) | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-native-coercion-functions.md) | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-native-coercion-functions.md) | ||
* @see [prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-negative-index.md) | ||
*/ | ||
'unicorn/prefer-negative-index': PreferNegativeIndexRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferNodeAppendRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferNodeAppendRule { | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
'unicorn/prefer-node-append': PreferNodeAppendRuleConfig; | ||
} |
@@ -5,4 +5,9 @@ import type { RuleConfig } from '../rule-config'; | ||
* Option. | ||
* | ||
* @deprecated | ||
*/ | ||
export interface PreferNodeProtocolOption { | ||
/** | ||
* @deprecated | ||
*/ | ||
checkRequire?: boolean; | ||
@@ -13,2 +18,4 @@ } | ||
* Options. | ||
* | ||
* @deprecated | ||
*/ | ||
@@ -20,3 +27,3 @@ export type PreferNodeProtocolOptions = [PreferNodeProtocolOption?]; | ||
* | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-node-protocol.md) | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-node-protocol.md) | ||
*/ | ||
@@ -29,3 +36,3 @@ export type PreferNodeProtocolRuleConfig = | ||
* | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-node-protocol.md) | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-node-protocol.md) | ||
*/ | ||
@@ -36,5 +43,5 @@ export interface PreferNodeProtocolRule { | ||
* | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/prefer-node-protocol.md) | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-node-protocol.md) | ||
*/ | ||
'unicorn/prefer-node-protocol': PreferNodeProtocolRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferNodeRemoveRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferNodeRemoveRule { | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
'unicorn/prefer-object-from-entries': PreferObjectFromEntriesRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferObjectHasOwnRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferObjectHasOwnRule { | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
'unicorn/prefer-regexp-test': PreferRegexpTestRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferReplaceAllRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferReplaceAllRule { | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-spread.md) | ||
*/ | ||
'unicorn/prefer-spread': PreferSpreadRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferStartsEndsWithRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferStartsEndsWithRule { | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-ternary.md) | ||
*/ | ||
'unicorn/prefer-ternary': PreferTernaryRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferTextContentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferTextContentRule { | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
'unicorn/prefer-top-level-await': PreferTopLevelAwaitRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferTrimStartEndRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferTrimStartEndRule { | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
'unicorn/prevent-abbreviations': PreventAbbreviationsRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type RegexShorthandRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface RegexShorthandRule { | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/string-content.md) | ||
*/ | ||
'unicorn/string-content': StringContentRuleConfig; | ||
} |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v42.0.0/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/text-encoding-identifier-case.md) | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/text-encoding-identifier-case.md) | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/text-encoding-identifier-case.md) | ||
* @see [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.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/v42.0.0/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.2/docs/rules/throw-new-error.md) | ||
*/ | ||
'unicorn/throw-new-error': ThrowNewErrorRuleConfig; | ||
} |
@@ -11,2 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
properties?: 'always' | 'never'; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
allow?: [] | [string]; | ||
@@ -13,0 +16,0 @@ } |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 1 | ||
*/ | ||
export type ComponentApiStyleOption = [ | ||
@@ -8,0 +11,0 @@ 'script-setup' | 'composition' | 'composition-vue2' | 'options', |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @maxItems 1 | ||
*/ | ||
export type HtmlSelfClosingOption = | ||
@@ -8,0 +11,0 @@ | [] |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoChildContentOption { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
additionalDirectives: [string, ...string[]]; | ||
@@ -9,0 +12,0 @@ } |
@@ -7,2 +7,5 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoDeprecatedRouterLinkTagPropOption { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
components?: [string, ...string[]]; | ||
@@ -9,0 +12,0 @@ [k: string]: any; |
@@ -7,3 +7,9 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoPotentialComponentOptionTypoOption { | ||
/** | ||
* @minItems 0 | ||
*/ | ||
presets?: ('all' | 'vue' | 'vue-router' | 'nuxt')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
custom?: string[]; | ||
@@ -10,0 +16,0 @@ threshold?: number; |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedBlockOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedCallAfterAwaitOption = { | ||
@@ -8,0 +11,0 @@ module: string; |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedComponentOptionsOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedCustomEventOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedHtmlElementsOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedPropsOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedStaticAttributeOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedSyntaxOption = ( | ||
@@ -8,0 +11,0 @@ | string |
@@ -6,2 +6,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
/** | ||
* @minItems 0 | ||
*/ | ||
export type NoRestrictedVBindOption = ( | ||
@@ -8,0 +11,0 @@ | (string | null) |
@@ -12,7 +12,7 @@ import type { RuleConfig } from '../rule-config'; | ||
| 'v-slot' | ||
| 'script-setup' | ||
| 'style-css-vars-injection' | ||
| 'v-model-argument' | ||
| 'v-model-custom-modifiers' | ||
| 'v-is' | ||
| 'script-setup' | ||
| 'style-css-vars-injection' | ||
| 'is-attribute-with-vue-prefix' | ||
@@ -19,0 +19,0 @@ | 'v-memo' |
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
1022854
935
33029