Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-define-config

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-define-config - npm Package Compare versions

Comparing version 1.23.0 to 2.0.0-alpha.0

dist/index.cjs

84

package.json
{
"name": "eslint-define-config",
"version": "1.23.0",
"version": "2.0.0-alpha.0",
"description": "Provide a defineConfig function for .eslintrc.js files",
"scripts": {
"clean": "rimraf .eslintcache dist pnpm-lock.yaml node_modules",
"build": "tsc",
"clean": "rimraf coverage .eslintcache dist pnpm-lock.yaml node_modules",
"build": "tsup-node",
"format": "prettier --cache --write .",
"lint": "eslint --cache --cache-strategy content --report-unused-disable-directives .",
"lint:run": "eslint --cache --cache-strategy content --report-unused-disable-directives .",
"lint": "run-s build lint:run",
"typecheck": "vitest typecheck",
"ts-check": "tsc",
"test": "vitest",

@@ -15,14 +17,14 @@ "coverage": "vitest run --coverage",

"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build",
"preflight": "pnpm install && run-s format lint build test typecheck"
"preflight": "pnpm install && run-s format lint ts-check test typecheck"
},
"type": "module",
"main": "src/index.cjs",
"module": "src/index.js",
"types": "src/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./src/index.js",
"require": "./src/index.cjs",
"default": "./src/index.js"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}

@@ -70,54 +72,56 @@ },

"@types/eslint": "~8.44.2",
"@types/json-schema": "~7.0.12",
"@types/node": "~20.4.8",
"@typescript-eslint/eslint-plugin": "~5.62.0",
"@typescript-eslint/parser": "~5.62.0",
"@types/json-schema": "~7.0.13",
"@types/node": "~20.6.3",
"@typescript-eslint/eslint-plugin": "~6.7.2",
"@typescript-eslint/parser": "~6.7.2",
"@vitest/coverage-v8": "~0.34.5",
"change-case": "~4.1.2",
"eslint": "~8.46.0",
"eslint-config-prettier": "~8.10.0",
"eslint": "~8.49.0",
"eslint-config-prettier": "~9.0.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-deprecation": "~1.5.0",
"eslint-plugin-deprecation": "~2.0.0",
"eslint-plugin-eslint-comments": "~3.2.0",
"eslint-plugin-import": "~2.28.0",
"eslint-plugin-inclusive-language": "~2.2.0",
"eslint-plugin-jsdoc": "~46.4.6",
"eslint-plugin-import": "~2.28.1",
"eslint-plugin-inclusive-language": "~2.2.1",
"eslint-plugin-jsdoc": "~46.8.2",
"eslint-plugin-jsonc": "~2.9.0",
"eslint-plugin-jsx-a11y": "~6.7.1",
"eslint-plugin-mdx": "~2.1.0",
"eslint-plugin-n": "~16.0.1",
"eslint-plugin-mdx": "~2.2.0",
"eslint-plugin-n": "~16.1.0",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-prettier": "~5.0.0",
"eslint-plugin-promise": "~6.1.1",
"eslint-plugin-react": "~7.33.1",
"eslint-plugin-react": "~7.33.2",
"eslint-plugin-react-hooks": "~4.6.0",
"eslint-plugin-sonarjs": "~0.20.0",
"eslint-plugin-sonarjs": "~0.21.0",
"eslint-plugin-spellcheck": "~0.0.20",
"eslint-plugin-testing-library": "~5.11.1",
"eslint-plugin-testing-library": "~6.0.1",
"eslint-plugin-unicorn": "~48.0.1",
"eslint-plugin-vitest": "~0.2.8",
"eslint-plugin-vue": "~9.16.1",
"eslint-plugin-vitest": "~0.3.1",
"eslint-plugin-vue": "~9.17.0",
"eslint-plugin-vue-pug": "~0.6.0",
"eslint-plugin-yml": "~1.8.0",
"eslint-plugin-yml": "~1.9.0",
"expect-type": "~0.16.0",
"graphql": "~16.7.1",
"graphql": "~16.8.1",
"json-schema": "~0.4.0",
"json-schema-to-ts": "~2.9.1",
"json-schema-to-typescript": "~13.0.2",
"json-schema-to-ts": "~2.9.2",
"json-schema-to-typescript": "~13.1.1",
"npm-run-all": "~4.1.5",
"prettier": "3.0.1",
"prettier": "3.0.3",
"prettier-plugin-organize-imports": "~3.2.3",
"rimraf": "~5.0.1",
"ts-dedent": "~2.2.0",
"tsx": "~3.12.7",
"typescript": "~5.1.6",
"tsup": "~7.2.0",
"tsx": "~3.12.10",
"typescript": "~5.2.2",
"upper-case-first": "~2.0.2",
"vitest": "~0.34.1",
"vitest": "~0.34.5",
"vue-eslint-parser": "~9.3.1"
},
"packageManager": "pnpm@8.6.11",
"packageManager": "pnpm@8.7.6",
"engines": {
"node": "^16.13.0 || >=18.0.0",
"npm": ">=7.0.0",
"node": ">=18.0.0",
"npm": ">=9.0.0",
"pnpm": ">= 8.6.0"
}
}

@@ -50,2 +50,6 @@ <p>

// @ts-check
// To activate auto-suggestions for Rules of specific plugins, you need to add a `/// <reference types="eslint-plugin-PLUGIN_NAME" />` comment.
/// <reference types="@typescript-eslint/eslint-plugin" />
const { defineConfig } = require('eslint-define-config');

@@ -101,2 +105,38 @@

## Want to support your own plugin?
Add a `declare module` to your plugin package like this:
```ts
declare module 'eslint-define-config' {
type RuleLevel = 0 | 1 | 2 | 'off' | 'warn' | 'error';
type Prepend<Tuple extends any[], Addend> = ((_: Addend, ..._1: Tuple) => any) extends (..._: infer Result) => any ? Result : never;
type RuleLevelAndOptions<Options extends any[] = any[]> = Prepend<Partial<Options>, RuleLevel>;
type RuleEntry<Options extends any[] = any[]> = RuleLevel | RuleLevelAndOptions<Options>;
type RuleConfig<Options extends any[] = any[]> = RuleEntry<Options>;
export interface Rules {
/**
* Require consistently using either `T[]` or `Array<T>` for arrays.
*
* @see [array-type](https://typescript-eslint.io/rules/array-type)
*/
'@typescript-eslint/array-type': RuleConfig<
[
{
default?: 'array' | 'generic' | 'array-simple';
readonly?: 'array' | 'generic' | 'array-simple';
},
]
>;
// ... more Rules
}
}
```
# Credits

@@ -103,0 +143,0 @@

@@ -86,3 +86,3 @@ import type { Parser, ParserOptions } from '../parser-options';

*/
rules?: Rules;
rules?: Partial<Rules>;

@@ -89,0 +89,0 @@ /**

@@ -83,3 +83,3 @@ import type { Parser, ParserOptions } from '../parser-options';

*/
rules?: Rules;
rules?: Partial<Rules>;

@@ -86,0 +86,0 @@ /**

@@ -57,3 +57,3 @@ import type { ESLint, Linter } from 'eslint';

*/
rules?: Rules;
rules?: Partial<Rules>;

@@ -73,2 +73,4 @@ /**

* @see [Using predefined configurations](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-predefined-configurations)
*
* @deprecated The predefined string configurations are deprecated and will be replaced by the @eslint/js package.
*/

@@ -75,0 +77,0 @@ export type PredefinedConfig = 'eslint:recommended' | 'eslint:all';

@@ -13,3 +13,21 @@ import type { RuleConfig } from '../rule-config';

*/
export type LinesBetweenClassMembersOption = 'always' | 'never';
export type LinesBetweenClassMembersOption =
| {
/**
* @minItems 1
*/
enforce: [
{
blankLine: 'always' | 'never';
prev: 'method' | 'field' | '*';
next: 'method' | 'field' | '*';
},
...{
blankLine: 'always' | 'never';
prev: 'method' | 'field' | '*';
next: 'method' | 'field' | '*';
}[],
];
}
| ('always' | 'never');

@@ -16,0 +34,0 @@ /**

import type { RuleConfig } from '../rule-config';
/**
* Option.
*/
export interface NoPromiseExecutorReturnOption {
allowVoid?: boolean;
}
/**
* Options.
*/
export type NoPromiseExecutorReturnOptions = [NoPromiseExecutorReturnOption?];
/**
* Disallow returning values from Promise executor functions.

@@ -8,3 +20,4 @@ *

*/
export type NoPromiseExecutorReturnRuleConfig = RuleConfig<[]>;
export type NoPromiseExecutorReturnRuleConfig =
RuleConfig<NoPromiseExecutorReturnOptions>;

@@ -11,0 +24,0 @@ /**

@@ -20,3 +20,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/consistent-type-specifier-style.md)
* @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/consistent-type-specifier-style.md)
*/

@@ -29,3 +29,3 @@ export type ConsistentTypeSpecifierStyleRuleConfig =

*
* @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/consistent-type-specifier-style.md)
* @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/consistent-type-specifier-style.md)
*/

@@ -36,5 +36,5 @@ export interface ConsistentTypeSpecifierStyleRule {

*
* @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/consistent-type-specifier-style.md)
* @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/consistent-type-specifier-style.md)
*/
'import/consistent-type-specifier-style': ConsistentTypeSpecifierStyleRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/default.md)
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/default.md)
*/

@@ -14,3 +14,3 @@ export type DefaultRuleConfig = RuleConfig<[]>;

*
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/default.md)
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/default.md)
*/

@@ -21,5 +21,5 @@ export interface DefaultRule {

*
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/default.md)
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/default.md)
*/
'import/default': DefaultRuleConfig;
}

@@ -20,3 +20,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/dynamic-import-chunkname.md)
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/dynamic-import-chunkname.md)
*/

@@ -29,3 +29,3 @@ export type DynamicImportChunknameRuleConfig =

*
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/dynamic-import-chunkname.md)
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/dynamic-import-chunkname.md)
*/

@@ -36,5 +36,5 @@ export interface DynamicImportChunknameRule {

*
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/dynamic-import-chunkname.md)
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/dynamic-import-chunkname.md)
*/
'import/dynamic-import-chunkname': DynamicImportChunknameRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/export.md)
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/export.md)
*/

@@ -14,3 +14,3 @@ export type ExportRuleConfig = RuleConfig<[]>;

*
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/export.md)
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/export.md)
*/

@@ -21,5 +21,5 @@ export interface ExportRule {

*
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/export.md)
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/export.md)
*/
'import/export': ExportRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/exports-last.md)
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md)
*/

@@ -14,3 +14,3 @@ export type ExportsLastRuleConfig = RuleConfig<[]>;

*
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/exports-last.md)
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md)
*/

@@ -21,5 +21,5 @@ export interface ExportsLastRule {

*
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/exports-last.md)
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md)
*/
'import/exports-last': ExportsLastRuleConfig;
}

@@ -62,3 +62,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/extensions.md)
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/extensions.md)
*/

@@ -70,3 +70,3 @@ export type ExtensionsRuleConfig = RuleConfig<ExtensionsOptions>;

*
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/extensions.md)
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/extensions.md)
*/

@@ -77,5 +77,5 @@ export interface ExtensionsRule {

*
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/extensions.md)
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/extensions.md)
*/
'import/extensions': ExtensionsRuleConfig;
}

@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/first.md)
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/first.md)
*/

@@ -24,3 +24,3 @@ export type FirstRuleConfig = RuleConfig<FirstOptions>;

*
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/first.md)
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/first.md)
*/

@@ -31,5 +31,5 @@ export interface FirstRule {

*
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/first.md)
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/first.md)
*/
'import/first': FirstRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/group-exports.md)
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/group-exports.md)
*/

@@ -14,3 +14,3 @@ export type GroupExportsRuleConfig = RuleConfig<[]>;

*
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/group-exports.md)
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/group-exports.md)
*/

@@ -21,5 +21,5 @@ export interface GroupExportsRule {

*
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/group-exports.md)
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/group-exports.md)
*/
'import/group-exports': GroupExportsRuleConfig;
}

@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/max-dependencies.md)
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/max-dependencies.md)
*/

@@ -27,3 +27,3 @@ export type MaxDependenciesRuleConfig = RuleConfig<MaxDependenciesOptions>;

*
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/max-dependencies.md)
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/max-dependencies.md)
*/

@@ -34,5 +34,5 @@ export interface MaxDependenciesRule {

*
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/max-dependencies.md)
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/max-dependencies.md)
*/
'import/max-dependencies': MaxDependenciesRuleConfig;
}

@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/named.md)
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/named.md)
*/

@@ -26,3 +26,3 @@ export type NamedRuleConfig = RuleConfig<NamedOptions>;

*
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/named.md)
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/named.md)
*/

@@ -33,5 +33,5 @@ export interface NamedRule {

*
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/named.md)
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/named.md)
*/
'import/named': NamedRuleConfig;
}

@@ -21,3 +21,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/namespace.md)
* @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/namespace.md)
*/

@@ -29,3 +29,3 @@ export type NamespaceRuleConfig = RuleConfig<NamespaceOptions>;

*
* @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/namespace.md)
* @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/namespace.md)
*/

@@ -36,5 +36,5 @@ export interface NamespaceRule {

*
* @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/namespace.md)
* @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/namespace.md)
*/
'import/namespace': NamespaceRuleConfig;
}

@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/newline-after-import.md)
* @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/newline-after-import.md)
*/

@@ -28,3 +28,3 @@ export type NewlineAfterImportRuleConfig =

*
* @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/newline-after-import.md)
* @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/newline-after-import.md)
*/

@@ -35,5 +35,5 @@ export interface NewlineAfterImportRule {

*
* @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/newline-after-import.md)
* @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/newline-after-import.md)
*/
'import/newline-after-import': NewlineAfterImportRuleConfig;
}

@@ -24,3 +24,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-absolute-path.md)
* @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-absolute-path.md)
*/

@@ -32,3 +32,3 @@ export type NoAbsolutePathRuleConfig = RuleConfig<NoAbsolutePathOptions>;

*
* @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-absolute-path.md)
* @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-absolute-path.md)
*/

@@ -39,5 +39,5 @@ export interface NoAbsolutePathRule {

*
* @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-absolute-path.md)
* @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-absolute-path.md)
*/
'import/no-absolute-path': NoAbsolutePathRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-amd.md)
* @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-amd.md)
*/

@@ -14,3 +14,3 @@ export type NoAmdRuleConfig = RuleConfig<[]>;

*
* @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-amd.md)
* @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-amd.md)
*/

@@ -21,5 +21,5 @@ export interface NoAmdRule {

*
* @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-amd.md)
* @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-amd.md)
*/
'import/no-amd': NoAmdRuleConfig;
}

@@ -49,3 +49,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-anonymous-default-export.md)
* @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-anonymous-default-export.md)
*/

@@ -58,3 +58,3 @@ export type NoAnonymousDefaultExportRuleConfig =

*
* @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-anonymous-default-export.md)
* @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-anonymous-default-export.md)
*/

@@ -65,5 +65,5 @@ export interface NoAnonymousDefaultExportRule {

*
* @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-anonymous-default-export.md)
* @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-anonymous-default-export.md)
*/
'import/no-anonymous-default-export': NoAnonymousDefaultExportRuleConfig;
}

@@ -26,3 +26,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-commonjs.md)
* @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-commonjs.md)
*/

@@ -34,3 +34,3 @@ export type NoCommonjsRuleConfig = RuleConfig<NoCommonjsOptions>;

*
* @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-commonjs.md)
* @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-commonjs.md)
*/

@@ -41,5 +41,5 @@ export interface NoCommonjsRule {

*
* @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-commonjs.md)
* @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-commonjs.md)
*/
'import/no-commonjs': NoCommonjsRuleConfig;
}

@@ -33,3 +33,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-cycle.md)
* @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-cycle.md)
*/

@@ -41,3 +41,3 @@ export type NoCycleRuleConfig = RuleConfig<NoCycleOptions>;

*
* @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-cycle.md)
* @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-cycle.md)
*/

@@ -48,5 +48,5 @@ export interface NoCycleRule {

*
* @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-cycle.md)
* @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-cycle.md)
*/
'import/no-cycle': NoCycleRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-default-export.md)
* @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-default-export.md)
*/

@@ -14,3 +14,3 @@ export type NoDefaultExportRuleConfig = RuleConfig<[]>;

*
* @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-default-export.md)
* @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-default-export.md)
*/

@@ -21,5 +21,5 @@ export interface NoDefaultExportRule {

*
* @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-default-export.md)
* @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-default-export.md)
*/
'import/no-default-export': NoDefaultExportRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-deprecated.md)
* @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-deprecated.md)
*/

@@ -14,3 +14,3 @@ export type NoDeprecatedRuleConfig = RuleConfig<[]>;

*
* @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-deprecated.md)
* @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-deprecated.md)
*/

@@ -21,5 +21,5 @@ export interface NoDeprecatedRule {

*
* @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-deprecated.md)
* @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-deprecated.md)
*/
'import/no-deprecated': NoDeprecatedRuleConfig;
}

@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-duplicates.md)
* @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-duplicates.md)
*/

@@ -27,3 +27,3 @@ export type NoDuplicatesRuleConfig = RuleConfig<NoDuplicatesOptions>;

*
* @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-duplicates.md)
* @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-duplicates.md)
*/

@@ -34,5 +34,5 @@ export interface NoDuplicatesRule {

*
* @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-duplicates.md)
* @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-duplicates.md)
*/
'import/no-duplicates': NoDuplicatesRuleConfig;
}

@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-dynamic-require.md)
* @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-dynamic-require.md)
*/

@@ -26,3 +26,3 @@ export type NoDynamicRequireRuleConfig = RuleConfig<NoDynamicRequireOptions>;

*
* @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-dynamic-require.md)
* @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-dynamic-require.md)
*/

@@ -33,5 +33,5 @@ export interface NoDynamicRequireRule {

*
* @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-dynamic-require.md)
* @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-dynamic-require.md)
*/
'import/no-dynamic-require': NoDynamicRequireRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-empty-named-blocks.md)
* @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-empty-named-blocks.md)
*/

@@ -14,3 +14,3 @@ export type NoEmptyNamedBlocksRuleConfig = RuleConfig<[]>;

*
* @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-empty-named-blocks.md)
* @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-empty-named-blocks.md)
*/

@@ -21,5 +21,5 @@ export interface NoEmptyNamedBlocksRule {

*
* @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-empty-named-blocks.md)
* @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-empty-named-blocks.md)
*/
'import/no-empty-named-blocks': NoEmptyNamedBlocksRuleConfig;
}

@@ -24,3 +24,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-extraneous-dependencies.md)
* @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-extraneous-dependencies.md)
*/

@@ -33,3 +33,3 @@ export type NoExtraneousDependenciesRuleConfig =

*
* @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-extraneous-dependencies.md)
* @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-extraneous-dependencies.md)
*/

@@ -40,5 +40,5 @@ export interface NoExtraneousDependenciesRule {

*
* @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-extraneous-dependencies.md)
* @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-extraneous-dependencies.md)
*/
'import/no-extraneous-dependencies': NoExtraneousDependenciesRuleConfig;
}

@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-internal-modules.md)
* @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-internal-modules.md)
*/

@@ -30,3 +30,3 @@ export type NoInternalModulesRuleConfig = RuleConfig<NoInternalModulesOptions>;

*
* @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-internal-modules.md)
* @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-internal-modules.md)
*/

@@ -37,5 +37,5 @@ export interface NoInternalModulesRule {

*
* @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-internal-modules.md)
* @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-internal-modules.md)
*/
'import/no-internal-modules': NoInternalModulesRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-mutable-exports.md)
* @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-mutable-exports.md)
*/

@@ -14,3 +14,3 @@ export type NoMutableExportsRuleConfig = RuleConfig<[]>;

*
* @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-mutable-exports.md)
* @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-mutable-exports.md)
*/

@@ -21,5 +21,5 @@ export interface NoMutableExportsRule {

*
* @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-mutable-exports.md)
* @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-mutable-exports.md)
*/
'import/no-mutable-exports': NoMutableExportsRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-as-default-member.md)
* @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default-member.md)
*/

@@ -14,3 +14,3 @@ export type NoNamedAsDefaultMemberRuleConfig = RuleConfig<[]>;

*
* @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-as-default-member.md)
* @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default-member.md)
*/

@@ -21,5 +21,5 @@ export interface NoNamedAsDefaultMemberRule {

*
* @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-as-default-member.md)
* @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default-member.md)
*/
'import/no-named-as-default-member': NoNamedAsDefaultMemberRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-as-default.md)
* @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default.md)
*/

@@ -14,3 +14,3 @@ export type NoNamedAsDefaultRuleConfig = RuleConfig<[]>;

*
* @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-as-default.md)
* @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default.md)
*/

@@ -21,5 +21,5 @@ export interface NoNamedAsDefaultRule {

*
* @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-as-default.md)
* @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default.md)
*/
'import/no-named-as-default': NoNamedAsDefaultRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-default.md)
* @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-default.md)
*/

@@ -14,3 +14,3 @@ export type NoNamedDefaultRuleConfig = RuleConfig<[]>;

*
* @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-default.md)
* @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-default.md)
*/

@@ -21,5 +21,5 @@ export interface NoNamedDefaultRule {

*
* @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-default.md)
* @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-default.md)
*/
'import/no-named-default': NoNamedDefaultRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-export.md)
* @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md)
*/

@@ -14,3 +14,3 @@ export type NoNamedExportRuleConfig = RuleConfig<[]>;

*
* @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-export.md)
* @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md)
*/

@@ -21,5 +21,5 @@ export interface NoNamedExportRule {

*
* @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-named-export.md)
* @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md)
*/
'import/no-named-export': NoNamedExportRuleConfig;
}

@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-namespace.md)
* @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-namespace.md)
*/

@@ -27,3 +27,3 @@ export type NoNamespaceRuleConfig = RuleConfig<NoNamespaceOptions>;

*
* @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-namespace.md)
* @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-namespace.md)
*/

@@ -34,5 +34,5 @@ export interface NoNamespaceRule {

*
* @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-namespace.md)
* @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-namespace.md)
*/
'import/no-namespace': NoNamespaceRuleConfig;
}

@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-nodejs-modules.md)
* @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-nodejs-modules.md)
*/

@@ -26,3 +26,3 @@ export type NoNodejsModulesRuleConfig = RuleConfig<NoNodejsModulesOptions>;

*
* @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-nodejs-modules.md)
* @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-nodejs-modules.md)
*/

@@ -33,5 +33,5 @@ export interface NoNodejsModulesRule {

*
* @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-nodejs-modules.md)
* @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-nodejs-modules.md)
*/
'import/no-nodejs-modules': NoNodejsModulesRuleConfig;
}

@@ -24,3 +24,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-relative-packages.md)
* @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-packages.md)
*/

@@ -33,3 +33,3 @@ export type NoRelativePackagesRuleConfig =

*
* @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-relative-packages.md)
* @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-packages.md)
*/

@@ -40,5 +40,5 @@ export interface NoRelativePackagesRule {

*
* @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-relative-packages.md)
* @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-packages.md)
*/
'import/no-relative-packages': NoRelativePackagesRuleConfig;
}

@@ -24,3 +24,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-relative-parent-imports.md)
* @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-parent-imports.md)
*/

@@ -33,3 +33,3 @@ export type NoRelativeParentImportsRuleConfig =

*
* @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-relative-parent-imports.md)
* @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-parent-imports.md)
*/

@@ -40,5 +40,5 @@ export interface NoRelativeParentImportsRule {

*
* @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-relative-parent-imports.md)
* @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-parent-imports.md)
*/
'import/no-relative-parent-imports': NoRelativeParentImportsRuleConfig;
}

@@ -35,3 +35,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-restricted-paths.md)
* @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-restricted-paths.md)
*/

@@ -43,3 +43,3 @@ export type NoRestrictedPathsRuleConfig = RuleConfig<NoRestrictedPathsOptions>;

*
* @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-restricted-paths.md)
* @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-restricted-paths.md)
*/

@@ -50,5 +50,5 @@ export interface NoRestrictedPathsRule {

*
* @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-restricted-paths.md)
* @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-restricted-paths.md)
*/
'import/no-restricted-paths': NoRestrictedPathsRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-self-import.md)
* @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-self-import.md)
*/

@@ -14,3 +14,3 @@ export type NoSelfImportRuleConfig = RuleConfig<[]>;

*
* @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-self-import.md)
* @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-self-import.md)
*/

@@ -21,5 +21,5 @@ export interface NoSelfImportRule {

*
* @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-self-import.md)
* @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-self-import.md)
*/
'import/no-self-import': NoSelfImportRuleConfig;
}

@@ -21,3 +21,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unassigned-import.md)
* @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unassigned-import.md)
*/

@@ -30,3 +30,3 @@ export type NoUnassignedImportRuleConfig =

*
* @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unassigned-import.md)
* @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unassigned-import.md)
*/

@@ -37,5 +37,5 @@ export interface NoUnassignedImportRule {

*
* @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unassigned-import.md)
* @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unassigned-import.md)
*/
'import/no-unassigned-import': NoUnassignedImportRuleConfig;
}

@@ -26,3 +26,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unresolved.md)
* @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unresolved.md)
*/

@@ -34,3 +34,3 @@ export type NoUnresolvedRuleConfig = RuleConfig<NoUnresolvedOptions>;

*
* @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unresolved.md)
* @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unresolved.md)
*/

@@ -41,5 +41,5 @@ export interface NoUnresolvedRule {

*
* @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unresolved.md)
* @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unresolved.md)
*/
'import/no-unresolved': NoUnresolvedRuleConfig;
}

@@ -46,3 +46,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unused-modules.md)
* @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unused-modules.md)
*/

@@ -54,3 +54,3 @@ export type NoUnusedModulesRuleConfig = RuleConfig<NoUnusedModulesOptions>;

*
* @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unused-modules.md)
* @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unused-modules.md)
*/

@@ -61,5 +61,5 @@ export interface NoUnusedModulesRule {

*
* @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-unused-modules.md)
* @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unused-modules.md)
*/
'import/no-unused-modules': NoUnusedModulesRuleConfig;
}

@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-useless-path-segments.md)
* @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-useless-path-segments.md)
*/

@@ -28,3 +28,3 @@ export type NoUselessPathSegmentsRuleConfig =

*
* @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-useless-path-segments.md)
* @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-useless-path-segments.md)
*/

@@ -35,5 +35,5 @@ export interface NoUselessPathSegmentsRule {

*
* @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-useless-path-segments.md)
* @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-useless-path-segments.md)
*/
'import/no-useless-path-segments': NoUselessPathSegmentsRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-webpack-loader-syntax.md)
* @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-webpack-loader-syntax.md)
*/

@@ -14,3 +14,3 @@ export type NoWebpackLoaderSyntaxRuleConfig = RuleConfig<[]>;

*
* @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-webpack-loader-syntax.md)
* @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-webpack-loader-syntax.md)
*/

@@ -21,5 +21,5 @@ export interface NoWebpackLoaderSyntaxRule {

*
* @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-webpack-loader-syntax.md)
* @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-webpack-loader-syntax.md)
*/
'import/no-webpack-loader-syntax': NoWebpackLoaderSyntaxRuleConfig;
}

@@ -48,3 +48,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/order.md)
* @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/order.md)
*/

@@ -56,3 +56,3 @@ export type OrderRuleConfig = RuleConfig<OrderOptions>;

*
* @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/order.md)
* @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/order.md)
*/

@@ -63,5 +63,5 @@ export interface OrderRule {

*
* @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/order.md)
* @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/order.md)
*/
'import/order': OrderRuleConfig;
}

@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/prefer-default-export.md)
* @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/prefer-default-export.md)
*/

@@ -27,3 +27,3 @@ export type PreferDefaultExportRuleConfig =

*
* @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/prefer-default-export.md)
* @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/prefer-default-export.md)
*/

@@ -34,5 +34,5 @@ export interface PreferDefaultExportRule {

*
* @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/prefer-default-export.md)
* @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/prefer-default-export.md)
*/
'import/prefer-default-export': PreferDefaultExportRuleConfig;
}

@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config';

*
* @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/unambiguous.md)
* @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/unambiguous.md)
*/

@@ -14,3 +14,3 @@ export type UnambiguousRuleConfig = RuleConfig<[]>;

*
* @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/unambiguous.md)
* @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/unambiguous.md)
*/

@@ -21,5 +21,5 @@ export interface UnambiguousRule {

*
* @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/unambiguous.md)
* @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/unambiguous.md)
*/
'import/unambiguous': UnambiguousRuleConfig;
}

@@ -31,27 +31,26 @@ import type { DeprecationRules } from './deprecation';

*/
export type Rules = Partial<
DeprecationRules &
EslintRules &
EslintCommentsRules &
GraphQLRules &
ImportRules &
JSDocRules &
JsoncRules &
JsxA11yRules &
NodeRules &
NRules &
PromiseRules &
ReactHooksRules &
ReactRules &
SonarJSRules &
SpellcheckRules &
TestingLibraryRules &
TypeScriptRules &
UnicornRules &
VitestRules &
VueRules &
VueI18nRules &
VuePugRules &
YmlRules &
Record<string, RuleConfig>
>;
export interface Rules
extends DeprecationRules,
EslintRules,
EslintCommentsRules,
GraphQLRules,
ImportRules,
JSDocRules,
JsoncRules,
JsxA11yRules,
NodeRules,
NRules,
PromiseRules,
ReactHooksRules,
ReactRules,
SonarJSRules,
SpellcheckRules,
TestingLibraryRules,
TypeScriptRules,
UnicornRules,
VitestRules,
VueRules,
VueI18nRules,
VuePugRules,
YmlRules,
Record<string, RuleConfig> {}

@@ -7,3 +7,8 @@ import type { RuleConfig } from '../rule-config';

export interface InformativeDocsOption {
aliases?: string[];
aliases?: {
/**
*/
[k: string]: string[];
};
excludedTags?: string[];
uselessWords?: string[];

@@ -10,0 +15,0 @@ }

@@ -17,5 +17,14 @@ import type { RuleConfig } from '../rule-config';

)[];
enableFixer?: boolean;
exemptedBy?: string[];
forceRequireReturn?: boolean;
forceReturnsWithAsync?: boolean;
publicOnly?:
| boolean
| {
ancestorsOnly?: boolean;
cjs?: boolean;
esm?: boolean;
window?: boolean;
};
}

@@ -22,0 +31,0 @@

@@ -9,2 +9,6 @@ import type { RuleConfig } from '../rule-config';

resolvePaths?: string[];
typescriptExtensionMap?:
| any[][]
| ('react' | 'react-jsx' | 'react-jsxdev' | 'react-native' | 'preserve');
tsconfigPath?: string;
}

@@ -11,0 +15,0 @@

@@ -10,2 +10,6 @@ import type { RuleConfig } from '../rule-config';

resolvePaths?: string[];
typescriptExtensionMap?:
| any[][]
| ('react' | 'react-jsx' | 'react-jsxdev' | 'react-native' | 'preserve');
tsconfigPath?: string;
}

@@ -12,0 +16,0 @@

@@ -0,1 +1,3 @@

import type { AwaitAsyncEventsRule } from './await-async-events';
import type { AwaitAsyncQueriesRule } from './await-async-queries';
import type { AwaitAsyncQueryRule } from './await-async-query';

@@ -6,2 +8,3 @@ import type { AwaitAsyncUtilsRule } from './await-async-utils';

import type { NoAwaitSyncEventsRule } from './no-await-sync-events';
import type { NoAwaitSyncQueriesRule } from './no-await-sync-queries';
import type { NoAwaitSyncQueryRule } from './no-await-sync-query';

@@ -15,2 +18,3 @@ import type { NoContainerRule } from './no-container';

import type { NoPromiseInFireEventRule } from './no-promise-in-fire-event';
import type { NoRenderInLifecycleRule } from './no-render-in-lifecycle';
import type { NoRenderInSetupRule } from './no-render-in-setup';

@@ -35,3 +39,5 @@ import type { NoUnnecessaryActRule } from './no-unnecessary-act';

*/
export type TestingLibraryRules = AwaitAsyncQueryRule &
export type TestingLibraryRules = AwaitAsyncEventsRule &
AwaitAsyncQueriesRule &
AwaitAsyncQueryRule &
AwaitAsyncUtilsRule &

@@ -41,2 +47,3 @@ AwaitFireEventRule &

NoAwaitSyncEventsRule &
NoAwaitSyncQueriesRule &
NoAwaitSyncQueryRule &

@@ -50,2 +57,3 @@ NoContainerRule &

NoPromiseInFireEventRule &
NoRenderInLifecycleRule &
NoRenderInSetupRule &

@@ -52,0 +60,0 @@ NoUnnecessaryActRule &

@@ -10,2 +10,3 @@ import type { AdjacentOverloadSignaturesRule } from './adjacent-overload-signatures';

import type { ClassLiteralPropertyStyleRule } from './class-literal-property-style';
import type { ClassMethodsUseThisRule } from './class-methods-use-this';
import type { CommaDangleRule } from './comma-dangle';

@@ -151,2 +152,3 @@ import type { CommaSpacingRule } from './comma-spacing';

ClassLiteralPropertyStyleRule &
ClassMethodsUseThisRule &
CommaDangleRule &

@@ -153,0 +155,0 @@ CommaSpacingRule &

@@ -6,30 +6,26 @@ import type { RuleConfig } from '../rule-config';

*/
export type LinesAroundCommentOption =
| []
| [
{
beforeBlockComment?: boolean;
afterBlockComment?: boolean;
beforeLineComment?: boolean;
afterLineComment?: boolean;
allowBlockStart?: boolean;
allowBlockEnd?: boolean;
allowClassStart?: boolean;
allowClassEnd?: boolean;
allowObjectStart?: boolean;
allowObjectEnd?: boolean;
allowArrayStart?: boolean;
allowArrayEnd?: boolean;
allowInterfaceStart?: boolean;
allowInterfaceEnd?: boolean;
allowTypeStart?: boolean;
allowTypeEnd?: boolean;
allowEnumStart?: boolean;
allowEnumEnd?: boolean;
allowModuleStart?: boolean;
allowModuleEnd?: boolean;
ignorePattern?: string;
applyDefaultIgnorePatterns?: boolean;
},
];
export interface LinesAroundCommentOption {
beforeBlockComment?: boolean;
afterBlockComment?: boolean;
beforeLineComment?: boolean;
afterLineComment?: boolean;
allowBlockStart?: boolean;
allowBlockEnd?: boolean;
allowClassStart?: boolean;
allowClassEnd?: boolean;
allowObjectStart?: boolean;
allowObjectEnd?: boolean;
allowArrayStart?: boolean;
allowArrayEnd?: boolean;
allowInterfaceStart?: boolean;
allowInterfaceEnd?: boolean;
allowTypeStart?: boolean;
allowTypeEnd?: boolean;
allowEnumStart?: boolean;
allowEnumEnd?: boolean;
allowModuleStart?: boolean;
allowModuleEnd?: boolean;
ignorePattern?: string;
applyDefaultIgnorePatterns?: boolean;
}

@@ -39,3 +35,3 @@ /**

*/
export type LinesAroundCommentOptions = LinesAroundCommentOption;
export type LinesAroundCommentOptions = [LinesAroundCommentOption?];

@@ -42,0 +38,0 @@ /**

@@ -1,5 +0,1 @@

import type {
LinesBetweenClassMembersConfig as BaseConfig,
LinesBetweenClassMembersOption,
} from '../eslint/lines-between-class-members';
import type { RuleConfig } from '../rule-config';

@@ -10,3 +6,4 @@

*/
export interface LinesBetweenClassMembersConfig extends BaseConfig {
export interface LinesBetweenClassMembersConfig {
exceptAfterSingleLine?: boolean;
exceptAfterOverload?: boolean;

@@ -16,2 +13,25 @@ }

/**
* Option.
*/
export type LinesBetweenClassMembersOption =
| {
/**
* @minItems 1
*/
enforce: [
{
blankLine: 'always' | 'never';
prev: 'method' | 'field' | '*';
next: 'method' | 'field' | '*';
},
...{
blankLine: 'always' | 'never';
prev: 'method' | 'field' | '*';
next: 'method' | 'field' | '*';
}[],
];
}
| ('always' | 'never');
/**
* Options.

@@ -18,0 +38,0 @@ */

@@ -6,43 +6,34 @@ import type { RuleConfig } from '../rule-config';

*/
export type FormatOptionsConfig = PredefinedFormats[] | null;
export type PredefinedFormats =
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE';
export type UnderscoreOptions =
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
export type PrefixSuffixConfig = string[];
export type TypeModifiers =
| 'boolean'
| 'string'
| 'number'
| 'function'
| 'array';
export type NamingConventionOption = (
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: (

@@ -90,44 +81,13 @@ | 'default'

)[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'default';

@@ -153,41 +113,10 @@ modifiers?: (

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'variableLike';

@@ -197,41 +126,10 @@ modifiers?: ('unused' | 'async')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'variable';

@@ -246,44 +144,13 @@ modifiers?: (

)[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'function';

@@ -293,85 +160,23 @@ modifiers?: ('exported' | 'global' | 'unused' | 'async')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'parameter';
modifiers?: ('destructured' | 'unused')[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'memberLike';

@@ -392,41 +197,10 @@ modifiers?: (

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'classProperty';

@@ -444,176 +218,52 @@ modifiers?: (

)[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'objectLiteralProperty';
modifiers?: ('public' | 'requiresQuotes')[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'typeProperty';
modifiers?: ('public' | 'readonly' | 'requiresQuotes')[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'parameterProperty';
modifiers?: ('private' | 'protected' | 'public' | 'readonly')[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'property';

@@ -632,44 +282,13 @@ modifiers?: (

)[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'classMethod';

@@ -689,41 +308,10 @@ modifiers?: (

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'objectLiteralMethod';

@@ -733,41 +321,10 @@ modifiers?: ('public' | 'requiresQuotes' | 'async')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'typeMethod';

@@ -777,41 +334,10 @@ modifiers?: ('public' | 'requiresQuotes')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'method';

@@ -831,41 +357,10 @@ modifiers?: (

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'accessor';

@@ -881,44 +376,13 @@ modifiers?: (

)[];
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[];
types?: TypeModifiers[];
}
| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'enumMember';

@@ -928,41 +392,10 @@ modifiers?: 'requiresQuotes'[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'typeLike';

@@ -972,41 +405,10 @@ modifiers?: ('abstract' | 'exported' | 'unused')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'class';

@@ -1016,41 +418,10 @@ modifiers?: ('abstract' | 'exported' | 'unused')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'interface';

@@ -1060,41 +431,10 @@ modifiers?: ('exported' | 'unused')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'typeAlias';

@@ -1104,41 +444,10 @@ modifiers?: ('exported' | 'unused')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'enum';

@@ -1148,41 +457,10 @@ modifiers?: ('exported' | 'unused')[];

| {
format:
| (
| 'camelCase'
| 'strictCamelCase'
| 'PascalCase'
| 'StrictPascalCase'
| 'snake_case'
| 'UPPER_CASE'
)[]
| null;
custom?: {
match: boolean;
regex: string;
[k: string]: any;
};
leadingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
trailingUnderscore?:
| 'forbid'
| 'allow'
| 'require'
| 'requireDouble'
| 'allowDouble'
| 'allowSingleOrDouble';
prefix?: string[];
suffix?: string[];
format: FormatOptionsConfig;
custom?: MatchRegexConfig;
leadingUnderscore?: UnderscoreOptions;
trailingUnderscore?: UnderscoreOptions;
prefix?: PrefixSuffixConfig;
suffix?: PrefixSuffixConfig;
failureMessage?: string;
filter?:
| string
| {
match: boolean;
regex: string;
[k: string]: any;
};
filter?: string | MatchRegexConfig;
selector: 'typeParameter';

@@ -1193,2 +471,7 @@ modifiers?: 'unused'[];

export interface MatchRegexConfig {
match: boolean;
regex: string;
}
/**

@@ -1195,0 +478,0 @@ * Options.

@@ -12,3 +12,3 @@ import type { RuleConfig } from '../rule-config';

/**
* Whether to ignore async IIFEs (Immediately Invocated Function Expressions).
* Whether to ignore async IIFEs (Immediately Invoked Function Expressions).
*/

@@ -15,0 +15,0 @@ ignoreIIFE?: boolean;

@@ -7,3 +7,3 @@ import type { RuleConfig } from '../rule-config';

export interface NoInvalidVoidTypeOption {
allowInGenericTypeArguments?: boolean | string[];
allowInGenericTypeArguments?: boolean | [string, ...string[]];
allowAsThisParameter?: boolean;

@@ -10,0 +10,0 @@ }

@@ -8,24 +8,48 @@ import type { RuleConfig } from '../rule-config';

| (
| any
| string
| {
name: string;
message?: string;
importNames?: string[];
/**
* Disallow value imports, but allow type-only imports.
*/
allowTypeImports?: boolean;
[k: string]: any;
}
)[]
| {
paths?: (
| any
| {
allowTypeImports?: boolean;
[k: string]: any;
}
)[];
patterns?:
| any
| {
allowTypeImports?: boolean;
[k: string]: any;
}[];
[k: string]: any;
}[];
| []
| [
{
paths?: (
| string
| {
name: string;
message?: string;
importNames?: string[];
/**
* Disallow value imports, but allow type-only imports.
*/
allowTypeImports?: boolean;
}
)[];
patterns?:
| string[]
| {
/**
* @minItems 1
*/
importNames?: [string, ...string[]];
/**
* @minItems 1
*/
group: [string, ...string[]];
message?: string;
caseSensitive?: boolean;
/**
* Disallow value imports, but allow type-only imports.
*/
allowTypeImports?: boolean;
}[];
},
];

@@ -32,0 +56,0 @@ /**

@@ -10,9 +10,11 @@ import type { RuleConfig } from '../rule-config';

ignoreMixedLogicalExpressions?: boolean;
ignorePrimitives?: {
bigint?: boolean;
boolean?: boolean;
number?: boolean;
string?: boolean;
[k: string]: any;
};
ignorePrimitives?:
| {
bigint?: boolean;
boolean?: boolean;
number?: boolean;
string?: boolean;
[k: string]: any;
}
| true;
ignoreTernaryTests?: boolean;

@@ -27,3 +29,3 @@ }

/**
* Enforce using the nullish coalescing operator instead of logical chaining.
* Enforce using the nullish coalescing operator instead of logical assignments or chaining.
*

@@ -36,3 +38,3 @@ * @see [prefer-nullish-coalescing](https://typescript-eslint.io/rules/prefer-nullish-coalescing)

/**
* Enforce using the nullish coalescing operator instead of logical chaining.
* Enforce using the nullish coalescing operator instead of logical assignments or chaining.
*

@@ -43,3 +45,3 @@ * @see [prefer-nullish-coalescing](https://typescript-eslint.io/rules/prefer-nullish-coalescing)

/**
* Enforce using the nullish coalescing operator instead of logical chaining.
* Enforce using the nullish coalescing operator instead of logical assignments or chaining.
*

@@ -46,0 +48,0 @@ * @see [prefer-nullish-coalescing](https://typescript-eslint.io/rules/prefer-nullish-coalescing)

import type { RuleConfig } from '../rule-config';
/**
* Option.
*/
export interface PreferOptionalChainOption {
/**
* Check operands that are typed as `any` when inspecting "loose boolean" operands.
*/
checkAny?: boolean;
/**
* Check operands that are typed as `unknown` when inspecting "loose boolean" operands.
*/
checkUnknown?: boolean;
/**
* Check operands that are typed as `string` when inspecting "loose boolean" operands.
*/
checkString?: boolean;
/**
* Check operands that are typed as `number` when inspecting "loose boolean" operands.
*/
checkNumber?: boolean;
/**
* Check operands that are typed as `boolean` when inspecting "loose boolean" operands.
*/
checkBoolean?: boolean;
/**
* Check operands that are typed as `bigint` when inspecting "loose boolean" operands.
*/
checkBigInt?: boolean;
/**
* Skip operands that are not typed with `null` and/or `undefined` when inspecting "loose boolean" operands.
*/
requireNullish?: boolean;
/**
* Allow autofixers that will change the return type of the expression. This option is considered unsafe as it may break the build.
*/
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
}
/**
* Options.
*/
export type PreferOptionalChainOptions = [PreferOptionalChainOption?];
/**
* Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects.

@@ -8,3 +51,4 @@ *

*/
export type PreferOptionalChainRuleConfig = RuleConfig<[]>;
export type PreferOptionalChainRuleConfig =
RuleConfig<PreferOptionalChainOptions>;

@@ -11,0 +55,0 @@ /**

@@ -7,2 +7,19 @@ import type { RuleConfig } from '../rule-config';

export interface PreferReadonlyParameterTypesOption {
allow?: (
| string
| {
from: 'file';
name: string | [string, ...string[]];
path?: string;
}
| {
from: 'lib';
name: string | [string, ...string[]];
}
| {
from: 'package';
name: string | [string, ...string[]];
package: string;
}
)[];
checkParameterProperties?: boolean;

@@ -9,0 +26,0 @@ ignoreInferredTypes?: boolean;

@@ -28,5 +28,5 @@ import type { RuleConfig } from '../rule-config';

/**
* Whether to check compound assignments such as `+=`.
* Whether to skip compound assignments such as `+=`.
*/
checkCompoundAssignments?: boolean;
skipCompoundAssignments?: boolean;
}

@@ -33,0 +33,0 @@

import type { RuleConfig } from '../rule-config';
/**
* Option.
*/
export interface ExpectExpectOption {
customExpressions?: any[];
}
/**
* Options.
*/
export type ExpectExpectOptions = [ExpectExpectOption?];
/**
* Enforce having expectation in test body.

@@ -8,3 +20,3 @@ *

*/
export type ExpectExpectRuleConfig = RuleConfig<[]>;
export type ExpectExpectRuleConfig = RuleConfig<ExpectExpectOptions>;

@@ -11,0 +23,0 @@ /**

@@ -107,2 +107,3 @@ import type { ArrayBracketNewlineRule } from './array-bracket-newline';

import type { NoRefObjectDestructureRule } from './no-ref-object-destructure';
import type { NoRefObjectReactivityLossRule } from './no-ref-object-reactivity-loss';
import type { NoRequiredPropWithDefaultRule } from './no-required-prop-with-default';

@@ -125,2 +126,3 @@ import type { NoReservedComponentNamesRule } from './no-reserved-component-names';

import type { NoSetupPropsDestructureRule } from './no-setup-props-destructure';
import type { NoSetupPropsReactivityLossRule } from './no-setup-props-reactivity-loss';
import type { NoSharedComponentDataRule } from './no-shared-component-data';

@@ -347,2 +349,3 @@ import type { NoSideEffectsInComputedPropertiesRule } from './no-side-effects-in-computed-properties';

NoRefObjectDestructureRule &
NoRefObjectReactivityLossRule &
NoRequiredPropWithDefaultRule &

@@ -365,2 +368,3 @@ NoReservedComponentNamesRule &

NoSetupPropsDestructureRule &
NoSetupPropsReactivityLossRule &
NoSharedComponentDataRule &

@@ -367,0 +371,0 @@ NoSideEffectsInComputedPropertiesRule &

import type { RuleConfig } from '../rule-config';
/**
* Disallow destructuring of ref objects that can lead to loss of reactivity.
* Disallow usages of ref objects that can lead to loss of reactivity.
*
* @deprecated
*
* @see [no-ref-object-destructure](https://eslint.vuejs.org/rules/no-ref-object-destructure.html)

@@ -11,4 +13,6 @@ */

/**
* Disallow destructuring of ref objects that can lead to loss of reactivity.
* Disallow usages of ref objects that can lead to loss of reactivity.
*
* @deprecated
*
* @see [no-ref-object-destructure](https://eslint.vuejs.org/rules/no-ref-object-destructure.html)

@@ -18,4 +22,6 @@ */

/**
* Disallow destructuring of ref objects that can lead to loss of reactivity.
* Disallow usages of ref objects that can lead to loss of reactivity.
*
* @deprecated
*
* @see [no-ref-object-destructure](https://eslint.vuejs.org/rules/no-ref-object-destructure.html)

@@ -22,0 +28,0 @@ */

import type { RuleConfig } from '../rule-config';
/**
* Disallow destructuring of `props` passed to `setup`.
* Disallow usages that lose the reactivity of `props` passed to `setup`.
*
* @deprecated
*
* @see [no-setup-props-destructure](https://eslint.vuejs.org/rules/no-setup-props-destructure.html)

@@ -11,4 +13,6 @@ */

/**
* Disallow destructuring of `props` passed to `setup`.
* Disallow usages that lose the reactivity of `props` passed to `setup`.
*
* @deprecated
*
* @see [no-setup-props-destructure](https://eslint.vuejs.org/rules/no-setup-props-destructure.html)

@@ -18,4 +22,6 @@ */

/**
* Disallow destructuring of `props` passed to `setup`.
* Disallow usages that lose the reactivity of `props` passed to `setup`.
*
* @deprecated
*
* @see [no-setup-props-destructure](https://eslint.vuejs.org/rules/no-setup-props-destructure.html)

@@ -22,0 +28,0 @@ */

@@ -8,2 +8,3 @@ import type { RuleConfig } from '../rule-config';

nestedHyphen?: 'always' | 'never';
blockMapping?: 'always' | 'never';
}

@@ -10,0 +11,0 @@

{
"compilerOptions": {
"target": "ES2020",
"target": "ESNext",
"module": "ESNext",

@@ -8,8 +8,9 @@ "moduleResolution": "Node",

"strict": true,
"allowJs": true,
"noEmit": true,
"declaration": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"allowSyntheticDefaultImports": true
}
},
"exclude": ["node_modules", "dist"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc