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

@types/eslint

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/eslint - npm Package Compare versions

Comparing version 7.2.8 to 7.2.9

6

eslint/helpers.d.ts

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

type Prepend<Tuple extends any[], Addend> = ((_: Addend, ..._1: Tuple) => any) extends ((
..._: infer Result
) => any) ? Result : never;
type Prepend<Tuple extends any[], Addend> = ((_: Addend, ..._1: Tuple) => any) extends (..._: infer Result) => any
? Result
: never;

@@ -556,3 +556,3 @@ // Type definitions for eslint 7.2

interface ParserOptions {
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020;
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021;
sourceType?: "script" | "module";

@@ -559,0 +559,0 @@ ecmaFeatures?: {

{
"name": "@types/eslint",
"version": "7.2.8",
"version": "7.2.9",
"description": "TypeScript definitions for eslint",

@@ -50,4 +50,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "6d6ab93e859c2754df367816155f29e76f9dc24036819af1e34be426b4abc33b",
"typesPublisherContentHash": "cbb8b23e30ca3c0b720420232e4a90a3c2e8844a354c7929d2253fd71b42c211",
"typeScriptVersion": "3.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 31 Mar 2021 00:31:13 GMT
* Last updated: Fri, 09 Apr 2021 22:01:17 GMT
* Dependencies: [@types/json-schema](https://npmjs.com/package/@types/json-schema), [@types/estree](https://npmjs.com/package/@types/estree)

@@ -14,0 +14,0 @@ * Global values: none

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -10,14 +10,16 @@ export interface BestPractices extends Linter.RulesRecord {

*/
'accessor-pairs': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
setWithoutGet: boolean;
/**
* @default false
*/
getWithoutSet: boolean;
}>
]>;
"accessor-pairs": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
setWithoutGet: boolean;
/**
* @default false
*/
getWithoutSet: boolean;
}>,
]
>;

@@ -30,10 +32,12 @@ /**

*/
'array-callback-return': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowImplicit: boolean;
}>
]>;
"array-callback-return": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowImplicit: boolean;
}>,
]
>;

@@ -46,3 +50,3 @@ /**

*/
'block-scoped-var': Linter.RuleEntry<[]>;
"block-scoped-var": Linter.RuleEntry<[]>;

@@ -55,7 +59,9 @@ /**

*/
'class-methods-use-this': Linter.RuleEntry<[
Partial<{
exceptMethods: string[];
}>
]>;
"class-methods-use-this": Linter.RuleEntry<
[
Partial<{
exceptMethods: string[];
}>,
]
>;

@@ -68,15 +74,18 @@ /**

*/
'complexity': Linter.RuleEntry<[
Partial<{
/**
* @default 20
*/
max: number;
/**
* @deprecated
* @default 20
*/
maximum: number;
}> | number
]>;
complexity: Linter.RuleEntry<
[
| Partial<{
/**
* @default 20
*/
max: number;
/**
* @deprecated
* @default 20
*/
maximum: number;
}>
| number,
]
>;

@@ -89,10 +98,12 @@ /**

*/
'consistent-return': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
treatUndefinedAsUnspecified: boolean;
}>
]>;
"consistent-return": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
treatUndefinedAsUnspecified: boolean;
}>,
]
>;

@@ -105,5 +116,3 @@ /**

*/
'curly': Linter.RuleEntry<[
'all' | 'multi' | 'multi-line' | 'multi-or-nest' | 'consistent'
]>;
curly: Linter.RuleEntry<["all" | "multi" | "multi-line" | "multi-or-nest" | "consistent"]>;

@@ -116,10 +125,12 @@ /**

*/
'default-case': Linter.RuleEntry<[
Partial<{
/**
* @default '^no default$'
*/
commentPattern: string;
}>
]>;
"default-case": Linter.RuleEntry<
[
Partial<{
/**
* @default '^no default$'
*/
commentPattern: string;
}>,
]
>;

@@ -132,5 +143,3 @@ /**

*/
'dot-location': Linter.RuleEntry<[
'object' | 'property'
]>;
"dot-location": Linter.RuleEntry<["object" | "property"]>;

@@ -143,11 +152,13 @@ /**

*/
'dot-notation': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
allowKeywords: boolean;
allowPattern: string;
}>
]>;
"dot-notation": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
allowKeywords: boolean;
allowPattern: string;
}>,
]
>;

@@ -160,13 +171,15 @@ /**

*/
'eqeqeq': Linter.RuleEntry<[
'always',
Partial<{
/**
* @default 'always'
*/
null: 'always' | 'never' | 'ignore';
}>
]> | Linter.RuleEntry<[
'smart' | 'allow-null'
]>;
eqeqeq:
| Linter.RuleEntry<
[
"always",
Partial<{
/**
* @default 'always'
*/
null: "always" | "never" | "ignore";
}>,
]
>
| Linter.RuleEntry<["smart" | "allow-null"]>;

@@ -179,3 +192,3 @@ /**

*/
'guard-for-in': Linter.RuleEntry<[]>;
"guard-for-in": Linter.RuleEntry<[]>;

@@ -188,5 +201,3 @@ /**

*/
'max-classes-per-file': Linter.RuleEntry<[
number
]>;
"max-classes-per-file": Linter.RuleEntry<[number]>;

@@ -199,3 +210,3 @@ /**

*/
'no-alert': Linter.RuleEntry<[]>;
"no-alert": Linter.RuleEntry<[]>;

@@ -208,3 +219,3 @@ /**

*/
'no-caller': Linter.RuleEntry<[]>;
"no-caller": Linter.RuleEntry<[]>;

@@ -220,3 +231,3 @@ /**

*/
'no-case-declarations': Linter.RuleEntry<[]>;
"no-case-declarations": Linter.RuleEntry<[]>;

@@ -229,3 +240,3 @@ /**

*/
'no-div-regex': Linter.RuleEntry<[]>;
"no-div-regex": Linter.RuleEntry<[]>;

@@ -238,10 +249,12 @@ /**

*/
'no-else-return': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
allowElseIf: boolean;
}>
]>;
"no-else-return": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
allowElseIf: boolean;
}>,
]
>;

@@ -254,10 +267,21 @@ /**

*/
'no-empty-function': Linter.RuleEntry<[
Partial<{
/**
* @default []
*/
allow: Array<'functions' | 'arrowFunctions' | 'generatorFunctions' | 'methods' | 'generatorMethods' | 'getters' | 'setters' | 'constructors'>;
}>
]>;
"no-empty-function": Linter.RuleEntry<
[
Partial<{
/**
* @default []
*/
allow: Array<
| "functions"
| "arrowFunctions"
| "generatorFunctions"
| "methods"
| "generatorMethods"
| "getters"
| "setters"
| "constructors"
>;
}>,
]
>;

@@ -273,3 +297,3 @@ /**

*/
'no-empty-pattern': Linter.RuleEntry<[]>;
"no-empty-pattern": Linter.RuleEntry<[]>;

@@ -282,3 +306,3 @@ /**

*/
'no-eq-null': Linter.RuleEntry<[]>;
"no-eq-null": Linter.RuleEntry<[]>;

@@ -291,10 +315,12 @@ /**

*/
'no-eval': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowIndirect: boolean;
}>
]>;
"no-eval": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowIndirect: boolean;
}>,
]
>;

@@ -307,7 +333,9 @@ /**

*/
'no-extend-native': Linter.RuleEntry<[
Partial<{
exceptions: string[];
}>
]>;
"no-extend-native": Linter.RuleEntry<
[
Partial<{
exceptions: string[];
}>,
]
>;

@@ -320,3 +348,3 @@ /**

*/
'no-extra-bind': Linter.RuleEntry<[]>;
"no-extra-bind": Linter.RuleEntry<[]>;

@@ -329,3 +357,3 @@ /**

*/
'no-extra-label': Linter.RuleEntry<[]>;
"no-extra-label": Linter.RuleEntry<[]>;

@@ -341,10 +369,12 @@ /**

*/
'no-fallthrough': Linter.RuleEntry<[
Partial<{
/**
* @default 'falls?\s?through'
*/
commentPattern: string;
}>
]>;
"no-fallthrough": Linter.RuleEntry<
[
Partial<{
/**
* @default 'falls?\s?through'
*/
commentPattern: string;
}>,
]
>;

@@ -357,3 +387,3 @@ /**

*/
'no-floating-decimal': Linter.RuleEntry<[]>;
"no-floating-decimal": Linter.RuleEntry<[]>;

@@ -369,7 +399,9 @@ /**

*/
'no-global-assign': Linter.RuleEntry<[
Partial<{
exceptions: string[];
}>
]>;
"no-global-assign": Linter.RuleEntry<
[
Partial<{
exceptions: string[];
}>,
]
>;

@@ -382,22 +414,24 @@ /**

*/
'no-implicit-coercion': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
boolean: boolean;
/**
* @default true
*/
number: boolean;
/**
* @default true
*/
string: boolean;
/**
* @default []
*/
allow: Array<'~' | '!!' | '+' | '*'>;
}>
]>;
"no-implicit-coercion": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
boolean: boolean;
/**
* @default true
*/
number: boolean;
/**
* @default true
*/
string: boolean;
/**
* @default []
*/
allow: Array<"~" | "!!" | "+" | "*">;
}>,
]
>;

@@ -410,3 +444,3 @@ /**

*/
'no-implicit-globals': Linter.RuleEntry<[]>;
"no-implicit-globals": Linter.RuleEntry<[]>;

@@ -419,3 +453,3 @@ /**

*/
'no-implied-eval': Linter.RuleEntry<[]>;
"no-implied-eval": Linter.RuleEntry<[]>;

@@ -428,3 +462,3 @@ /**

*/
'no-invalid-this': Linter.RuleEntry<[]>;
"no-invalid-this": Linter.RuleEntry<[]>;

@@ -437,3 +471,3 @@ /**

*/
'no-iterator': Linter.RuleEntry<[]>;
"no-iterator": Linter.RuleEntry<[]>;

@@ -446,14 +480,16 @@ /**

*/
'no-labels': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowLoop: boolean;
/**
* @default false
*/
allowSwitch: boolean;
}>
]>;
"no-labels": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowLoop: boolean;
/**
* @default false
*/
allowSwitch: boolean;
}>,
]
>;

@@ -466,3 +502,3 @@ /**

*/
'no-lone-blocks': Linter.RuleEntry<[]>;
"no-lone-blocks": Linter.RuleEntry<[]>;

@@ -475,3 +511,3 @@ /**

*/
'no-loop-func': Linter.RuleEntry<[]>;
"no-loop-func": Linter.RuleEntry<[]>;

@@ -484,22 +520,24 @@ /**

*/
'no-magic-numbers': Linter.RuleEntry<[
Partial<{
/**
* @default []
*/
ignore: number[];
/**
* @default false
*/
ignoreArrayIndexes: boolean;
/**
* @default false
*/
enforceConst: boolean;
/**
* @default false
*/
detectObjects: boolean;
}>
]>;
"no-magic-numbers": Linter.RuleEntry<
[
Partial<{
/**
* @default []
*/
ignore: number[];
/**
* @default false
*/
ignoreArrayIndexes: boolean;
/**
* @default false
*/
enforceConst: boolean;
/**
* @default false
*/
detectObjects: boolean;
}>,
]
>;

@@ -512,14 +550,16 @@ /**

*/
'no-multi-spaces': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
ignoreEOLComments: boolean;
/**
* @default { Property: true }
*/
exceptions: Record<string, boolean>;
}>
]>;
"no-multi-spaces": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
ignoreEOLComments: boolean;
/**
* @default { Property: true }
*/
exceptions: Record<string, boolean>;
}>,
]
>;

@@ -532,3 +572,3 @@ /**

*/
'no-multi-str': Linter.RuleEntry<[]>;
"no-multi-str": Linter.RuleEntry<[]>;

@@ -541,3 +581,3 @@ /**

*/
'no-new': Linter.RuleEntry<[]>;
"no-new": Linter.RuleEntry<[]>;

@@ -550,3 +590,3 @@ /**

*/
'no-new-func': Linter.RuleEntry<[]>;
"no-new-func": Linter.RuleEntry<[]>;

@@ -559,3 +599,3 @@ /**

*/
'no-new-wrappers': Linter.RuleEntry<[]>;
"no-new-wrappers": Linter.RuleEntry<[]>;

@@ -571,3 +611,3 @@ /**

*/
'no-octal': Linter.RuleEntry<[]>;
"no-octal": Linter.RuleEntry<[]>;

@@ -580,3 +620,3 @@ /**

*/
'no-octal-escape': Linter.RuleEntry<[]>;
"no-octal-escape": Linter.RuleEntry<[]>;

@@ -589,14 +629,16 @@ /**

*/
'no-param-reassign': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
props: boolean;
/**
* @default []
*/
ignorePropertyModificationsFor: string[];
}>
]>;
"no-param-reassign": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
props: boolean;
/**
* @default []
*/
ignorePropertyModificationsFor: string[];
}>,
]
>;

@@ -609,3 +651,3 @@ /**

*/
'no-proto': Linter.RuleEntry<[]>;
"no-proto": Linter.RuleEntry<[]>;

@@ -621,10 +663,12 @@ /**

*/
'no-redeclare': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
builtinGlobals: boolean;
}>
]>;
"no-redeclare": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
builtinGlobals: boolean;
}>,
]
>;

@@ -637,12 +681,17 @@ /**

*/
'no-restricted-properties': Linter.RuleEntry<[
...Array<{
object: string;
property?: string;
message?: string;
} | {
property: string;
message?: string;
}>
]>;
"no-restricted-properties": Linter.RuleEntry<
[
...Array<
| {
object: string;
property?: string;
message?: string;
}
| {
property: string;
message?: string;
}
>
]
>;

@@ -655,5 +704,3 @@ /**

*/
'no-return-assign': Linter.RuleEntry<[
'except-parens' | 'always'
]>;
"no-return-assign": Linter.RuleEntry<["except-parens" | "always"]>;

@@ -666,3 +713,3 @@ /**

*/
'no-return-await': Linter.RuleEntry<[]>;
"no-return-await": Linter.RuleEntry<[]>;

@@ -675,3 +722,3 @@ /**

*/
'no-script-url': Linter.RuleEntry<[]>;
"no-script-url": Linter.RuleEntry<[]>;

@@ -687,3 +734,3 @@ /**

*/
'no-self-assign': Linter.RuleEntry<[]>;
"no-self-assign": Linter.RuleEntry<[]>;

@@ -696,3 +743,3 @@ /**

*/
'no-self-compare': Linter.RuleEntry<[]>;
"no-self-compare": Linter.RuleEntry<[]>;

@@ -705,3 +752,3 @@ /**

*/
'no-sequences': Linter.RuleEntry<[]>;
"no-sequences": Linter.RuleEntry<[]>;

@@ -714,3 +761,3 @@ /**

*/
'no-throw-literal': Linter.RuleEntry<[]>;
"no-throw-literal": Linter.RuleEntry<[]>;

@@ -723,3 +770,3 @@ /**

*/
'no-unmodified-loop-condition': Linter.RuleEntry<[]>;
"no-unmodified-loop-condition": Linter.RuleEntry<[]>;

@@ -732,18 +779,20 @@ /**

*/
'no-unused-expressions': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowShortCircuit: boolean;
/**
* @default false
*/
allowTernary: boolean;
/**
* @default false
*/
allowTaggedTemplates: boolean;
}>
]>;
"no-unused-expressions": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowShortCircuit: boolean;
/**
* @default false
*/
allowTernary: boolean;
/**
* @default false
*/
allowTaggedTemplates: boolean;
}>,
]
>;

@@ -759,3 +808,3 @@ /**

*/
'no-unused-labels': Linter.RuleEntry<[]>;
"no-unused-labels": Linter.RuleEntry<[]>;

@@ -768,3 +817,3 @@ /**

*/
'no-useless-call': Linter.RuleEntry<[]>;
"no-useless-call": Linter.RuleEntry<[]>;

@@ -780,3 +829,3 @@ /**

*/
'no-useless-catch': Linter.RuleEntry<[]>;
"no-useless-catch": Linter.RuleEntry<[]>;

@@ -789,3 +838,3 @@ /**

*/
'no-useless-concat': Linter.RuleEntry<[]>;
"no-useless-concat": Linter.RuleEntry<[]>;

@@ -801,3 +850,3 @@ /**

*/
'no-useless-escape': Linter.RuleEntry<[]>;
"no-useless-escape": Linter.RuleEntry<[]>;

@@ -810,3 +859,3 @@ /**

*/
'no-useless-return': Linter.RuleEntry<[]>;
"no-useless-return": Linter.RuleEntry<[]>;

@@ -819,3 +868,3 @@ /**

*/
'no-void': Linter.RuleEntry<[]>;
"no-void": Linter.RuleEntry<[]>;

@@ -828,14 +877,16 @@ /**

*/
'no-warning-comments': Linter.RuleEntry<[
{
/**
* @default ["todo", "fixme", "xxx"]
*/
terms: string[];
/**
* @default 'start'
*/
location: 'start' | 'anywhere';
}
]>;
"no-warning-comments": Linter.RuleEntry<
[
{
/**
* @default ["todo", "fixme", "xxx"]
*/
terms: string[];
/**
* @default 'start'
*/
location: "start" | "anywhere";
},
]
>;

@@ -851,3 +902,3 @@ /**

*/
'no-with': Linter.RuleEntry<[]>;
"no-with": Linter.RuleEntry<[]>;

@@ -860,3 +911,3 @@ /**

*/
'prefer-named-capture-group': Linter.RuleEntry<[]>;
"prefer-named-capture-group": Linter.RuleEntry<[]>;

@@ -869,10 +920,12 @@ /**

*/
'prefer-promise-reject-errors': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowEmptyReject: boolean;
}>
]>;
"prefer-promise-reject-errors": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowEmptyReject: boolean;
}>,
]
>;

@@ -885,5 +938,3 @@ /**

*/
'radix': Linter.RuleEntry<[
'always' | 'as-needed'
]>;
radix: Linter.RuleEntry<["always" | "as-needed"]>;

@@ -896,3 +947,3 @@ /**

*/
'require-await': Linter.RuleEntry<[]>;
"require-await": Linter.RuleEntry<[]>;

@@ -905,3 +956,3 @@ /**

*/
'require-unicode-regexp': Linter.RuleEntry<[]>;
"require-unicode-regexp": Linter.RuleEntry<[]>;

@@ -914,3 +965,3 @@ /**

*/
'vars-on-top': Linter.RuleEntry<[]>;
"vars-on-top": Linter.RuleEntry<[]>;

@@ -923,11 +974,13 @@ /**

*/
'wrap-iife': Linter.RuleEntry<[
'outside' | 'inside' | 'any',
Partial<{
/**
* @default false
*/
functionPrototypeMethods: boolean;
}>
]>;
"wrap-iife": Linter.RuleEntry<
[
"outside" | "inside" | "any",
Partial<{
/**
* @default false
*/
functionPrototypeMethods: boolean;
}>,
]
>;

@@ -940,11 +993,13 @@ /**

*/
'yoda': Linter.RuleEntry<[
'never',
Partial<{
exceptRange: boolean;
onlyEquality: boolean;
}>
]> | Linter.RuleEntry<[
'always'
]>;
yoda:
| Linter.RuleEntry<
[
"never",
Partial<{
exceptRange: boolean;
onlyEquality: boolean;
}>,
]
>
| Linter.RuleEntry<["always"]>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -11,92 +11,97 @@ export interface Deprecated extends Linter.RulesRecord {

*/
'indent-legacy': Linter.RuleEntry<[
number | 'tab',
Partial<{
/**
* @default 0
*/
SwitchCase: number;
/**
* @default 1
*/
VariableDeclarator: Partial<{
"indent-legacy": Linter.RuleEntry<
[
number | "tab",
Partial<{
/**
* @default 1
* @default 0
*/
var: number | 'first';
SwitchCase: number;
/**
* @default 1
*/
let: number | 'first';
VariableDeclarator:
| Partial<{
/**
* @default 1
*/
var: number | "first";
/**
* @default 1
*/
let: number | "first";
/**
* @default 1
*/
const: number | "first";
}>
| number
| "first";
/**
* @default 1
*/
const: number | 'first';
}> | number | 'first';
/**
* @default 1
*/
outerIIFEBody: number;
/**
* @default 1
*/
MemberExpression: number | 'off';
/**
* @default { parameters: 1, body: 1 }
*/
FunctionDeclaration: Partial<{
outerIIFEBody: number;
/**
* @default 1
*/
parameters: number | 'first' | 'off';
MemberExpression: number | "off";
/**
* @default 1
* @default { parameters: 1, body: 1 }
*/
body: number;
}>;
/**
* @default { parameters: 1, body: 1 }
*/
FunctionExpression: Partial<{
FunctionDeclaration: Partial<{
/**
* @default 1
*/
parameters: number | "first" | "off";
/**
* @default 1
*/
body: number;
}>;
/**
* @default { parameters: 1, body: 1 }
*/
FunctionExpression: Partial<{
/**
* @default 1
*/
parameters: number | "first" | "off";
/**
* @default 1
*/
body: number;
}>;
/**
* @default { arguments: 1 }
*/
CallExpression: Partial<{
/**
* @default 1
*/
arguments: number | "first" | "off";
}>;
/**
* @default 1
*/
parameters: number | 'first' | 'off';
ArrayExpression: number | "first" | "off";
/**
* @default 1
*/
body: number;
}>;
/**
* @default { arguments: 1 }
*/
CallExpression: Partial<{
ObjectExpression: number | "first" | "off";
/**
* @default 1
*/
arguments: number | 'first' | 'off';
}>;
/**
* @default 1
*/
ArrayExpression: number | 'first' | 'off';
/**
* @default 1
*/
ObjectExpression: number | 'first' | 'off';
/**
* @default 1
*/
ImportDeclaration: number | 'first' | 'off';
/**
* @default false
*/
flatTernaryExpressions: boolean;
ignoredNodes: string[];
/**
* @default false
*/
ignoreComments: boolean;
}>
]>;
ImportDeclaration: number | "first" | "off";
/**
* @default false
*/
flatTernaryExpressions: boolean;
ignoredNodes: string[];
/**
* @default false
*/
ignoreComments: boolean;
}>,
]
>;

@@ -110,5 +115,3 @@ /**

*/
'lines-around-directive': Linter.RuleEntry<[
'always' | 'never'
]>;
"lines-around-directive": Linter.RuleEntry<["always" | "never"]>;

@@ -122,5 +125,3 @@ /**

*/
'newline-after-var': Linter.RuleEntry<[
'always' | 'never'
]>;
"newline-after-var": Linter.RuleEntry<["always" | "never"]>;

@@ -134,3 +135,3 @@ /**

*/
'newline-before-return': Linter.RuleEntry<[]>;
"newline-before-return": Linter.RuleEntry<[]>;

@@ -144,3 +145,3 @@ /**

*/
'no-catch-shadow': Linter.RuleEntry<[]>;
"no-catch-shadow": Linter.RuleEntry<[]>;

@@ -154,7 +155,9 @@ /**

*/
'no-native-reassign': Linter.RuleEntry<[
Partial<{
exceptions: string[];
}>
]>;
"no-native-reassign": Linter.RuleEntry<
[
Partial<{
exceptions: string[];
}>,
]
>;

@@ -168,3 +171,3 @@ /**

*/
'no-negated-in-lhs': Linter.RuleEntry<[]>;
"no-negated-in-lhs": Linter.RuleEntry<[]>;

@@ -178,3 +181,3 @@ /**

*/
'no-spaced-func': Linter.RuleEntry<[]>;
"no-spaced-func": Linter.RuleEntry<[]>;

@@ -188,7 +191,9 @@ /**

*/
'prefer-reflect': Linter.RuleEntry<[
Partial<{
exceptions: string[];
}>
]>;
"prefer-reflect": Linter.RuleEntry<
[
Partial<{
exceptions: string[];
}>,
]
>;

@@ -202,67 +207,71 @@ /**

*/
'require-jsdoc': Linter.RuleEntry<[
Partial<{
require: Partial<{
"require-jsdoc": Linter.RuleEntry<
[
Partial<{
require: Partial<{
/**
* @default true
*/
FunctionDeclaration: boolean;
/**
* @default false
*/
MethodDefinition: boolean;
/**
* @default false
*/
ClassDeclaration: boolean;
/**
* @default false
*/
ArrowFunctionExpression: boolean;
/**
* @default false
*/
FunctionExpression: boolean;
}>;
}>,
]
>;
/**
* Rule to enforce valid JSDoc comments.
*
* @since 0.4.0
* @deprecated since 5.10.0
* @see https://eslint.org/docs/rules/valid-jsdoc
*/
"valid-jsdoc": Linter.RuleEntry<
[
Partial<{
prefer: Record<string, string>;
preferType: Record<string, string>;
/**
* @default true
*/
FunctionDeclaration: boolean;
requireReturn: boolean;
/**
* @default false
* @default true
*/
MethodDefinition: boolean;
requireReturnType: boolean;
/**
* @default false
* @remarks
* Also accept for regular expression pattern
*/
ClassDeclaration: boolean;
matchDescription: string;
/**
* @default false
* @default true
*/
ArrowFunctionExpression: boolean;
requireParamDescription: boolean;
/**
* @default false
* @default true
*/
FunctionExpression: boolean;
}>;
}>
]>;
/**
* Rule to enforce valid JSDoc comments.
*
* @since 0.4.0
* @deprecated since 5.10.0
* @see https://eslint.org/docs/rules/valid-jsdoc
*/
'valid-jsdoc': Linter.RuleEntry<[
Partial<{
prefer: Record<string, string>;
preferType: Record<string, string>;
/**
* @default true
*/
requireReturn: boolean;
/**
* @default true
*/
requireReturnType: boolean;
/**
* @remarks
* Also accept for regular expression pattern
*/
matchDescription: string;
/**
* @default true
*/
requireParamDescription: boolean;
/**
* @default true
*/
requireReturnDescription: boolean;
/**
* @default true
*/
requireParamType: boolean;
}>
]>;
requireReturnDescription: boolean;
/**
* @default true
*/
requireParamType: boolean;
}>,
]
>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -10,13 +10,15 @@ export interface ECMAScript6 extends Linter.RulesRecord {

*/
'arrow-body-style': Linter.RuleEntry<[
'as-needed',
Partial<{
/**
* @default false
*/
requireReturnForObjectLiteral: boolean;
}>
]> | Linter.RuleEntry<[
'always' | 'never'
]>;
"arrow-body-style":
| Linter.RuleEntry<
[
"as-needed",
Partial<{
/**
* @default false
*/
requireReturnForObjectLiteral: boolean;
}>,
]
>
| Linter.RuleEntry<["always" | "never"]>;

@@ -29,13 +31,15 @@ /**

*/
'arrow-parens': Linter.RuleEntry<[
'always'
]> | Linter.RuleEntry<[
'as-needed',
Partial<{
/**
* @default false
*/
requireForBlockBody: boolean;
}>
]>;
"arrow-parens":
| Linter.RuleEntry<["always"]>
| Linter.RuleEntry<
[
"as-needed",
Partial<{
/**
* @default false
*/
requireForBlockBody: boolean;
}>,
]
>;

@@ -48,3 +52,3 @@ /**

*/
'arrow-spacing': Linter.RuleEntry<[]>;
"arrow-spacing": Linter.RuleEntry<[]>;

@@ -60,3 +64,3 @@ /**

*/
'constructor-super': Linter.RuleEntry<[]>;
"constructor-super": Linter.RuleEntry<[]>;

@@ -69,20 +73,41 @@ /**

*/
'generator-star-spacing': Linter.RuleEntry<[
Partial<{
before: boolean;
after: boolean;
named: Partial<{
before: boolean;
after: boolean;
}> | 'before' | 'after' | 'both' | 'neither';
anonymous: Partial<{
before: boolean;
after: boolean;
}> | 'before' | 'after' | 'both' | 'neither';
method: Partial<{
before: boolean;
after: boolean;
}> | 'before' | 'after' | 'both' | 'neither';
}> | 'before' | 'after' | 'both' | 'neither'
]>;
"generator-star-spacing": Linter.RuleEntry<
[
| Partial<{
before: boolean;
after: boolean;
named:
| Partial<{
before: boolean;
after: boolean;
}>
| "before"
| "after"
| "both"
| "neither";
anonymous:
| Partial<{
before: boolean;
after: boolean;
}>
| "before"
| "after"
| "both"
| "neither";
method:
| Partial<{
before: boolean;
after: boolean;
}>
| "before"
| "after"
| "both"
| "neither";
}>
| "before"
| "after"
| "both"
| "neither",
]
>;

@@ -98,3 +123,3 @@ /**

*/
'no-class-assign': Linter.RuleEntry<[]>;
"no-class-assign": Linter.RuleEntry<[]>;

@@ -107,10 +132,12 @@ /**

*/
'no-confusing-arrow': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
allowParens: boolean;
}>
]>;
"no-confusing-arrow": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
allowParens: boolean;
}>,
]
>;

@@ -126,3 +153,3 @@ /**

*/
'no-const-assign': Linter.RuleEntry<[]>;
"no-const-assign": Linter.RuleEntry<[]>;

@@ -138,3 +165,3 @@ /**

*/
'no-dupe-class-members': Linter.RuleEntry<[]>;
"no-dupe-class-members": Linter.RuleEntry<[]>;

@@ -147,10 +174,12 @@ /**

*/
'no-duplicate-import': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
includeExports: boolean;
}>
]>;
"no-duplicate-import": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
includeExports: boolean;
}>,
]
>;

@@ -166,3 +195,3 @@ /**

*/
'no-new-symbol': Linter.RuleEntry<[]>;
"no-new-symbol": Linter.RuleEntry<[]>;

@@ -175,16 +204,25 @@ /**

*/
'no-restricted-imports': Linter.RuleEntry<[
...Array<string | {
name: string;
importNames?: string[];
message?: string;
} | Partial<{
paths: Array<string | {
name: string;
importNames?: string[];
message?: string;
}>;
patterns: string[];
}>>
]>;
"no-restricted-imports": Linter.RuleEntry<
[
...Array<
| string
| {
name: string;
importNames?: string[];
message?: string;
}
| Partial<{
paths: Array<
| string
| {
name: string;
importNames?: string[];
message?: string;
}
>;
patterns: string[];
}>
>
]
>;

@@ -200,3 +238,3 @@ /**

*/
'no-this-before-super': Linter.RuleEntry<[]>;
"no-this-before-super": Linter.RuleEntry<[]>;

@@ -209,3 +247,3 @@ /**

*/
'no-useless-computed-key': Linter.RuleEntry<[]>;
"no-useless-computed-key": Linter.RuleEntry<[]>;

@@ -218,3 +256,3 @@ /**

*/
'no-useless-constructor': Linter.RuleEntry<[]>;
"no-useless-constructor": Linter.RuleEntry<[]>;

@@ -227,18 +265,20 @@ /**

*/
'no-useless-rename': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
ignoreImport: boolean;
/**
* @default false
*/
ignoreExport: boolean;
/**
* @default false
*/
ignoreDestructuring: boolean;
}>
]>;
"no-useless-rename": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
ignoreImport: boolean;
/**
* @default false
*/
ignoreExport: boolean;
/**
* @default false
*/
ignoreDestructuring: boolean;
}>,
]
>;

@@ -251,3 +291,3 @@ /**

*/
'no-var': Linter.RuleEntry<[]>;
"no-var": Linter.RuleEntry<[]>;

@@ -260,29 +300,34 @@ /**

*/
'object-shorthand': Linter.RuleEntry<[
'always' | 'methods',
Partial<{
/**
* @default false
*/
avoidQuotes: boolean;
/**
* @default false
*/
ignoreConstructors: boolean;
/**
* @default false
*/
avoidExplicitReturnArrows: boolean;
}>
]> | Linter.RuleEntry<[
'properties',
Partial<{
/**
* @default false
*/
avoidQuotes: boolean;
}>
]> | Linter.RuleEntry<[
'never' | 'consistent' | 'consistent-as-needed'
]>;
"object-shorthand":
| Linter.RuleEntry<
[
"always" | "methods",
Partial<{
/**
* @default false
*/
avoidQuotes: boolean;
/**
* @default false
*/
ignoreConstructors: boolean;
/**
* @default false
*/
avoidExplicitReturnArrows: boolean;
}>,
]
>
| Linter.RuleEntry<
[
"properties",
Partial<{
/**
* @default false
*/
avoidQuotes: boolean;
}>,
]
>
| Linter.RuleEntry<["never" | "consistent" | "consistent-as-needed"]>;

@@ -295,14 +340,16 @@ /**

*/
'prefer-arrow-callback': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowNamedFunctions: boolean;
/**
* @default true
*/
allowUnboundThis: boolean;
}>
]>;
"prefer-arrow-callback": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowNamedFunctions: boolean;
/**
* @default true
*/
allowUnboundThis: boolean;
}>,
]
>;

@@ -315,14 +362,16 @@ /**

*/
'prefer-const': Linter.RuleEntry<[
Partial<{
/**
* @default 'any'
*/
destructuring: 'any' | 'all';
/**
* @default false
*/
ignoreReadBeforeAssign: boolean;
}>
]>;
"prefer-const": Linter.RuleEntry<
[
Partial<{
/**
* @default 'any'
*/
destructuring: "any" | "all";
/**
* @default false
*/
ignoreReadBeforeAssign: boolean;
}>,
]
>;

@@ -335,20 +384,25 @@ /**

*/
'prefer-destructuring': Linter.RuleEntry<[
Partial<{
VariableDeclarator: Partial<{
array: boolean;
object: boolean;
}>;
AssignmentExpression: Partial<{
array: boolean;
object: boolean;
}>;
} | {
array: boolean;
object: boolean;
}>,
Partial<{
enforceForRenamedProperties: boolean;
}>
]>;
"prefer-destructuring": Linter.RuleEntry<
[
Partial<
| {
VariableDeclarator: Partial<{
array: boolean;
object: boolean;
}>;
AssignmentExpression: Partial<{
array: boolean;
object: boolean;
}>;
}
| {
array: boolean;
object: boolean;
}
>,
Partial<{
enforceForRenamedProperties: boolean;
}>,
]
>;

@@ -361,3 +415,3 @@ /**

*/
'prefer-numeric-literals': Linter.RuleEntry<[]>;
"prefer-numeric-literals": Linter.RuleEntry<[]>;

@@ -370,3 +424,3 @@ /**

*/
'prefer-rest-params': Linter.RuleEntry<[]>;
"prefer-rest-params": Linter.RuleEntry<[]>;

@@ -379,3 +433,3 @@ /**

*/
'prefer-spread': Linter.RuleEntry<[]>;
"prefer-spread": Linter.RuleEntry<[]>;

@@ -388,3 +442,3 @@ /**

*/
'prefer-template': Linter.RuleEntry<[]>;
"prefer-template": Linter.RuleEntry<[]>;

@@ -400,3 +454,3 @@ /**

*/
'require-yield': Linter.RuleEntry<[]>;
"require-yield": Linter.RuleEntry<[]>;

@@ -409,5 +463,3 @@ /**

*/
'rest-spread-spacing': Linter.RuleEntry<[
'never' | 'always'
]>;
"rest-spread-spacing": Linter.RuleEntry<["never" | "always"]>;

@@ -420,22 +472,24 @@ /**

*/
'sort-imports': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
ignoreCase: boolean;
/**
* @default false
*/
ignoreDeclarationSort: boolean;
/**
* @default false
*/
ignoreMemberSort: boolean;
/**
* @default ['none', 'all', 'multiple', 'single']
*/
memberSyntaxSortOrder: Array<'none' | 'all' | 'multiple' | 'single'>;
}>
]>;
"sort-imports": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
ignoreCase: boolean;
/**
* @default false
*/
ignoreDeclarationSort: boolean;
/**
* @default false
*/
ignoreMemberSort: boolean;
/**
* @default ['none', 'all', 'multiple', 'single']
*/
memberSyntaxSortOrder: Array<"none" | "all" | "multiple" | "single">;
}>,
]
>;

@@ -448,3 +502,3 @@ /**

*/
'symbol-description': Linter.RuleEntry<[]>;
"symbol-description": Linter.RuleEntry<[]>;

@@ -457,5 +511,3 @@ /**

*/
'template-curly-spacing': Linter.RuleEntry<[
'never' | 'always'
]>;
"template-curly-spacing": Linter.RuleEntry<["never" | "always"]>;

@@ -468,8 +520,14 @@ /**

*/
'yield-star-spacing': Linter.RuleEntry<[
Partial<{
before: boolean;
after: boolean;
}> | 'before' | 'after' | 'both' | 'neither'
]>;
"yield-star-spacing": Linter.RuleEntry<
[
| Partial<{
before: boolean;
after: boolean;
}>
| "before"
| "after"
| "both"
| "neither",
]
>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -12,4 +12,11 @@ import { BestPractices } from "./best-practices";

export interface ESLintRules extends Linter.RulesRecord,
PossibleErrors, BestPractices, StrictMode, Variables, NodeJSAndCommonJS,
StylisticIssues, ECMAScript6, Deprecated {}
export interface ESLintRules
extends Linter.RulesRecord,
PossibleErrors,
BestPractices,
StrictMode,
Variables,
NodeJSAndCommonJS,
StylisticIssues,
ECMAScript6,
Deprecated {}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -10,5 +10,3 @@ export interface NodeJSAndCommonJS extends Linter.RulesRecord {

*/
'callback-return': Linter.RuleEntry<[
string[]
]>;
"callback-return": Linter.RuleEntry<[string[]]>;

@@ -21,3 +19,3 @@ /**

*/
'global-require': Linter.RuleEntry<[]>;
"global-require": Linter.RuleEntry<[]>;

@@ -30,5 +28,3 @@ /**

*/
'handle-callback-err': Linter.RuleEntry<[
string
]>;
"handle-callback-err": Linter.RuleEntry<[string]>;

@@ -41,3 +37,3 @@ /**

*/
'no-buffer-constructor': Linter.RuleEntry<[]>;
"no-buffer-constructor": Linter.RuleEntry<[]>;

@@ -50,14 +46,16 @@ /**

*/
'no-mixed-requires': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
grouping: boolean;
/**
* @default false
*/
allowCall: boolean;
}>
]>;
"no-mixed-requires": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
grouping: boolean;
/**
* @default false
*/
allowCall: boolean;
}>,
]
>;

@@ -70,3 +68,3 @@ /**

*/
'no-new-require': Linter.RuleEntry<[]>;
"no-new-require": Linter.RuleEntry<[]>;

@@ -79,3 +77,3 @@ /**

*/
'no-path-concat': Linter.RuleEntry<[]>;
"no-path-concat": Linter.RuleEntry<[]>;

@@ -88,3 +86,3 @@ /**

*/
'no-process-env': Linter.RuleEntry<[]>;
"no-process-env": Linter.RuleEntry<[]>;

@@ -97,3 +95,3 @@ /**

*/
'no-process-exit': Linter.RuleEntry<[]>;
"no-process-exit": Linter.RuleEntry<[]>;

@@ -106,14 +104,23 @@ /**

*/
'no-restricted-modules': Linter.RuleEntry<[
...Array<string | {
name: string;
message?: string;
} | Partial<{
paths: Array<string | {
name: string;
message?: string;
}>;
patterns: string[];
}>>
]>;
"no-restricted-modules": Linter.RuleEntry<
[
...Array<
| string
| {
name: string;
message?: string;
}
| Partial<{
paths: Array<
| string
| {
name: string;
message?: string;
}
>;
patterns: string[];
}>
>
]
>;

@@ -126,10 +133,12 @@ /**

*/
'no-sync': Linter.RuleEntry<[
{
/**
* @default false
*/
allowAtRootLevel: boolean;
}
]>;
"no-sync": Linter.RuleEntry<
[
{
/**
* @default false
*/
allowAtRootLevel: boolean;
},
]
>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -13,3 +13,3 @@ export interface PossibleErrors extends Linter.RulesRecord {

*/
'for-direction': Linter.RuleEntry<[]>;
"for-direction": Linter.RuleEntry<[]>;

@@ -25,10 +25,12 @@ /**

*/
'getter-return': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowImplicit: boolean;
}>
]>;
"getter-return": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowImplicit: boolean;
}>,
]
>;

@@ -44,3 +46,3 @@ /**

*/
'no-async-promise-executor': Linter.RuleEntry<[]>;
"no-async-promise-executor": Linter.RuleEntry<[]>;

@@ -53,3 +55,3 @@ /**

*/
'no-await-in-loop': Linter.RuleEntry<[]>;
"no-await-in-loop": Linter.RuleEntry<[]>;

@@ -65,3 +67,3 @@ /**

*/
'no-compare-neg-zero': Linter.RuleEntry<[]>;
"no-compare-neg-zero": Linter.RuleEntry<[]>;

@@ -77,5 +79,3 @@ /**

*/
'no-cond-assign': Linter.RuleEntry<[
'except-parens' | 'always'
]>;
"no-cond-assign": Linter.RuleEntry<["except-parens" | "always"]>;

@@ -88,7 +88,9 @@ /**

*/
'no-console': Linter.RuleEntry<[
Partial<{
allow: Array<keyof Console>;
}>
]>;
"no-console": Linter.RuleEntry<
[
Partial<{
allow: Array<keyof Console>;
}>,
]
>;

@@ -104,10 +106,12 @@ /**

*/
'no-constant-condition': Linter.RuleEntry<[
{
/**
* @default true
*/
checkLoops: boolean;
}
]>;
"no-constant-condition": Linter.RuleEntry<
[
{
/**
* @default true
*/
checkLoops: boolean;
},
]
>;

@@ -123,3 +127,3 @@ /**

*/
'no-control-regex': Linter.RuleEntry<[]>;
"no-control-regex": Linter.RuleEntry<[]>;

@@ -135,3 +139,3 @@ /**

*/
'no-debugger': Linter.RuleEntry<[]>;
"no-debugger": Linter.RuleEntry<[]>;

@@ -147,3 +151,3 @@ /**

*/
'no-dupe-args': Linter.RuleEntry<[]>;
"no-dupe-args": Linter.RuleEntry<[]>;

@@ -159,3 +163,3 @@ /**

*/
'no-dupe-keys': Linter.RuleEntry<[]>;
"no-dupe-keys": Linter.RuleEntry<[]>;

@@ -171,3 +175,3 @@ /**

*/
'no-duplicate-case': Linter.RuleEntry<[]>;
"no-duplicate-case": Linter.RuleEntry<[]>;

@@ -183,10 +187,12 @@ /**

*/
'no-empty': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowEmptyCatch: boolean;
}>
]>;
"no-empty": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowEmptyCatch: boolean;
}>,
]
>;

@@ -202,3 +208,3 @@ /**

*/
'no-empty-character-class': Linter.RuleEntry<[]>;
"no-empty-character-class": Linter.RuleEntry<[]>;

@@ -214,3 +220,3 @@ /**

*/
'no-ex-assign': Linter.RuleEntry<[]>;
"no-ex-assign": Linter.RuleEntry<[]>;

@@ -226,3 +232,3 @@ /**

*/
'no-extra-boolean-cast': Linter.RuleEntry<[]>;
"no-extra-boolean-cast": Linter.RuleEntry<[]>;

@@ -235,29 +241,31 @@ /**

*/
'no-extra-parens': Linter.RuleEntry<[
'all',
Partial<{
/**
* @default true,
*/
conditionalAssign: boolean;
/**
* @default true
*/
returnAssign: boolean;
/**
* @default true
*/
nestedBinaryExpressions: boolean;
/**
* @default 'none'
*/
ignoreJSX: 'none' | 'all' | 'multi-line' | 'single-line';
/**
* @default true
*/
enforceForArrowConditionals: boolean;
}>
]> | Linter.RuleEntry<[
'functions'
]>;
"no-extra-parens":
| Linter.RuleEntry<
[
"all",
Partial<{
/**
* @default true,
*/
conditionalAssign: boolean;
/**
* @default true
*/
returnAssign: boolean;
/**
* @default true
*/
nestedBinaryExpressions: boolean;
/**
* @default 'none'
*/
ignoreJSX: "none" | "all" | "multi-line" | "single-line";
/**
* @default true
*/
enforceForArrowConditionals: boolean;
}>,
]
>
| Linter.RuleEntry<["functions"]>;

@@ -273,3 +281,3 @@ /**

*/
'no-extra-semi': Linter.RuleEntry<[]>;
"no-extra-semi": Linter.RuleEntry<[]>;

@@ -285,3 +293,3 @@ /**

*/
'no-func-assign': Linter.RuleEntry<[]>;
"no-func-assign": Linter.RuleEntry<[]>;

@@ -297,5 +305,3 @@ /**

*/
'no-inner-declarations': Linter.RuleEntry<[
'functions' | 'both'
]>;
"no-inner-declarations": Linter.RuleEntry<["functions" | "both"]>;

@@ -311,7 +317,9 @@ /**

*/
'no-invalid-regexp': Linter.RuleEntry<[
Partial<{
allowConstructorFlags: string[];
}>
]>;
"no-invalid-regexp": Linter.RuleEntry<
[
Partial<{
allowConstructorFlags: string[];
}>,
]
>;

@@ -327,22 +335,24 @@ /**

*/
'no-irregular-whitespace': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
skipStrings: boolean;
/**
* @default false
*/
skipComments: boolean;
/**
* @default false
*/
skipRegExps: boolean;
/**
* @default false
*/
skipTemplates: boolean;
}>
]>;
"no-irregular-whitespace": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
skipStrings: boolean;
/**
* @default false
*/
skipComments: boolean;
/**
* @default false
*/
skipRegExps: boolean;
/**
* @default false
*/
skipTemplates: boolean;
}>,
]
>;

@@ -358,3 +368,3 @@ /**

*/
'no-misleading-character-class': Linter.RuleEntry<[]>;
"no-misleading-character-class": Linter.RuleEntry<[]>;

@@ -370,3 +380,3 @@ /**

*/
'no-obj-calls': Linter.RuleEntry<[]>;
"no-obj-calls": Linter.RuleEntry<[]>;

@@ -382,3 +392,3 @@ /**

*/
'no-prototype-builtins': Linter.RuleEntry<[]>;
"no-prototype-builtins": Linter.RuleEntry<[]>;

@@ -394,3 +404,3 @@ /**

*/
'no-regex-spaces': Linter.RuleEntry<[]>;
"no-regex-spaces": Linter.RuleEntry<[]>;

@@ -406,3 +416,3 @@ /**

*/
'no-sparse-arrays': Linter.RuleEntry<[]>;
"no-sparse-arrays": Linter.RuleEntry<[]>;

@@ -415,3 +425,3 @@ /**

*/
'no-template-curly-in-string': Linter.RuleEntry<[]>;
"no-template-curly-in-string": Linter.RuleEntry<[]>;

@@ -427,3 +437,3 @@ /**

*/
'no-unexpected-multiline': Linter.RuleEntry<[]>;
"no-unexpected-multiline": Linter.RuleEntry<[]>;

@@ -439,3 +449,3 @@ /**

*/
'no-unreachable': Linter.RuleEntry<[]>;
"no-unreachable": Linter.RuleEntry<[]>;

@@ -451,3 +461,3 @@ /**

*/
'no-unsafe-finally': Linter.RuleEntry<[]>;
"no-unsafe-finally": Linter.RuleEntry<[]>;

@@ -463,3 +473,3 @@ /**

*/
'no-unsafe-negation': Linter.RuleEntry<[]>;
"no-unsafe-negation": Linter.RuleEntry<[]>;

@@ -475,3 +485,3 @@ /**

*/
'require-atomic-updates': Linter.RuleEntry<[]>;
"require-atomic-updates": Linter.RuleEntry<[]>;

@@ -487,3 +497,3 @@ /**

*/
'use-isnan': Linter.RuleEntry<[]>;
"use-isnan": Linter.RuleEntry<[]>;

@@ -499,10 +509,12 @@ /**

*/
'valid-typeof': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
requireStringLiterals: boolean;
}>
]>;
"valid-typeof": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
requireStringLiterals: boolean;
}>,
]
>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -10,5 +10,3 @@ export interface StrictMode extends Linter.RulesRecord {

*/
'strict': Linter.RuleEntry<[
'safe' | 'global' | 'function' | 'never'
]>;
strict: Linter.RuleEntry<["safe" | "global" | "function" | "never"]>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -10,14 +10,19 @@ export interface StylisticIssues extends Linter.RulesRecord {

*/
'array-bracket-newline': Linter.RuleEntry<[
'always' | 'never' | 'consistent' | Partial<{
/**
* @default true
*/
multiline: boolean;
/**
* @default null
*/
minItems: number | null;
}>
]>;
"array-bracket-newline": Linter.RuleEntry<
[
| "always"
| "never"
| "consistent"
| Partial<{
/**
* @default true
*/
multiline: boolean;
/**
* @default null
*/
minItems: number | null;
}>,
]
>;

@@ -30,35 +35,41 @@ /**

*/
'array-bracket-spacing': Linter.RuleEntry<[
'never',
Partial<{
/**
* @default false
*/
singleValue: boolean;
/**
* @default false
*/
objectsInArrays: boolean;
/**
* @default false
*/
arraysInArrays: boolean;
}>
]> | Linter.RuleEntry<[
'always',
Partial<{
/**
* @default true
*/
singleValue: boolean;
/**
* @default true
*/
objectsInArrays: boolean;
/**
* @default true
*/
arraysInArrays: boolean;
}>
]>;
"array-bracket-spacing":
| Linter.RuleEntry<
[
"never",
Partial<{
/**
* @default false
*/
singleValue: boolean;
/**
* @default false
*/
objectsInArrays: boolean;
/**
* @default false
*/
arraysInArrays: boolean;
}>,
]
>
| Linter.RuleEntry<
[
"always",
Partial<{
/**
* @default true
*/
singleValue: boolean;
/**
* @default true
*/
objectsInArrays: boolean;
/**
* @default true
*/
arraysInArrays: boolean;
}>,
]
>;

@@ -71,14 +82,19 @@ /**

*/
'array-element-newline': Linter.RuleEntry<[
'always' | 'never' | 'consistent' | Partial<{
/**
* @default true
*/
multiline: boolean;
/**
* @default null
*/
minItems: number | null;
}>
]>;
"array-element-newline": Linter.RuleEntry<
[
| "always"
| "never"
| "consistent"
| Partial<{
/**
* @default true
*/
multiline: boolean;
/**
* @default null
*/
minItems: number | null;
}>,
]
>;

@@ -91,5 +107,3 @@ /**

*/
'block-spacing': Linter.RuleEntry<[
'always' | 'never'
]>;
"block-spacing": Linter.RuleEntry<["always" | "never"]>;

@@ -102,11 +116,13 @@ /**

*/
'brace-style': Linter.RuleEntry<[
'1tbs' | 'stroustrup' | 'allman',
Partial<{
/**
* @default false
*/
allowSingleLine: boolean;
}>
]>;
"brace-style": Linter.RuleEntry<
[
"1tbs" | "stroustrup" | "allman",
Partial<{
/**
* @default false
*/
allowSingleLine: boolean;
}>,
]
>;

@@ -119,19 +135,21 @@ /**

*/
'camelcase': Linter.RuleEntry<[
Partial<{
/**
* @default 'always'
*/
properties: 'always' | 'never';
/**
* @default false
*/
ignoreDestructuring: boolean;
/**
* @remarks
* Also accept for regular expression patterns
*/
allow: string[];
}>
]>;
camelcase: Linter.RuleEntry<
[
Partial<{
/**
* @default 'always'
*/
properties: "always" | "never";
/**
* @default false
*/
ignoreDestructuring: boolean;
/**
* @remarks
* Also accept for regular expression patterns
*/
allow: string[];
}>,
]
>;

@@ -144,16 +162,18 @@ /**

*/
'capitalized-comments': Linter.RuleEntry<[
'always' | 'never',
Partial<{
ignorePattern: string;
/**
* @default false
*/
ignoreInlineComments: boolean;
/**
* @default false
*/
ignoreConsecutiveComments: boolean;
}>
]>;
"capitalized-comments": Linter.RuleEntry<
[
"always" | "never",
Partial<{
ignorePattern: string;
/**
* @default false
*/
ignoreInlineComments: boolean;
/**
* @default false
*/
ignoreConsecutiveComments: boolean;
}>,
]
>;

@@ -166,26 +186,32 @@ /**

*/
'comma-dangle': Linter.RuleEntry<[
'never' | 'always' | 'always-multiline' | 'only-multiline' | Partial<{
/**
* @default 'never'
*/
arrays: 'never' | 'always' | 'always-multiline' | 'only-multiline';
/**
* @default 'never'
*/
objects: 'never' | 'always' | 'always-multiline' | 'only-multiline';
/**
* @default 'never'
*/
imports: 'never' | 'always' | 'always-multiline' | 'only-multiline';
/**
* @default 'never'
*/
exports: 'never' | 'always' | 'always-multiline' | 'only-multiline';
/**
* @default 'never'
*/
functions: 'never' | 'always' | 'always-multiline' | 'only-multiline';
}>
]>;
"comma-dangle": Linter.RuleEntry<
[
| "never"
| "always"
| "always-multiline"
| "only-multiline"
| Partial<{
/**
* @default 'never'
*/
arrays: "never" | "always" | "always-multiline" | "only-multiline";
/**
* @default 'never'
*/
objects: "never" | "always" | "always-multiline" | "only-multiline";
/**
* @default 'never'
*/
imports: "never" | "always" | "always-multiline" | "only-multiline";
/**
* @default 'never'
*/
exports: "never" | "always" | "always-multiline" | "only-multiline";
/**
* @default 'never'
*/
functions: "never" | "always" | "always-multiline" | "only-multiline";
}>,
]
>;

@@ -198,14 +224,16 @@ /**

*/
'comma-spacing': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
before: boolean;
/**
* @default true
*/
after: boolean;
}>
]>;
"comma-spacing": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
before: boolean;
/**
* @default true
*/
after: boolean;
}>,
]
>;

@@ -218,8 +246,10 @@ /**

*/
'comma-style': Linter.RuleEntry<[
'last' | 'first',
Partial<{
exceptions: Record<string, boolean>;
}>
]>;
"comma-style": Linter.RuleEntry<
[
"last" | "first",
Partial<{
exceptions: Record<string, boolean>;
}>,
]
>;

@@ -232,5 +262,3 @@ /**

*/
'computed-property-spacing': Linter.RuleEntry<[
'never' | 'always'
]>;
"computed-property-spacing": Linter.RuleEntry<["never" | "always"]>;

@@ -243,5 +271,3 @@ /**

*/
'consistent-this': Linter.RuleEntry<[
...string[]
]>;
"consistent-this": Linter.RuleEntry<[...string[]]>;

@@ -254,5 +280,7 @@ /**

*/
'eol-last': Linter.RuleEntry<[
'always' | 'never' // | 'unix' | 'windows'
]>;
"eol-last": Linter.RuleEntry<
[
"always" | "never", // | 'unix' | 'windows'
]
>;

@@ -265,5 +293,3 @@ /**

*/
'func-call-spacing': Linter.RuleEntry<[
'never' | 'always'
]>;
"func-call-spacing": Linter.RuleEntry<["never" | "always"]>;

@@ -276,26 +302,32 @@ /**

*/
'func-name-matching': Linter.RuleEntry<[
'always' | 'never',
Partial<{
/**
* @default false
*/
considerPropertyDescriptor: boolean;
/**
* @default false
*/
includeCommonJSModuleExports: boolean;
}>
]> | Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
considerPropertyDescriptor: boolean;
/**
* @default false
*/
includeCommonJSModuleExports: boolean;
}>
]>;
"func-name-matching":
| Linter.RuleEntry<
[
"always" | "never",
Partial<{
/**
* @default false
*/
considerPropertyDescriptor: boolean;
/**
* @default false
*/
includeCommonJSModuleExports: boolean;
}>,
]
>
| Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
considerPropertyDescriptor: boolean;
/**
* @default false
*/
includeCommonJSModuleExports: boolean;
}>,
]
>;

@@ -308,8 +340,10 @@ /**

*/
'func-names': Linter.RuleEntry<[
'always' | 'as-needed' | 'never',
Partial<{
generators: 'always' | 'as-needed' | 'never';
}>
]>;
"func-names": Linter.RuleEntry<
[
"always" | "as-needed" | "never",
Partial<{
generators: "always" | "as-needed" | "never";
}>,
]
>;

@@ -322,11 +356,13 @@ /**

*/
'func-style': Linter.RuleEntry<[
'expression' | 'declaration',
Partial<{
/**
* @default false
*/
allowArrowFunctions: boolean;
}>
]>;
"func-style": Linter.RuleEntry<
[
"expression" | "declaration",
Partial<{
/**
* @default false
*/
allowArrowFunctions: boolean;
}>,
]
>;

@@ -339,7 +375,14 @@ /**

*/
'function-paren-newline': Linter.RuleEntry<[
'always' | 'never' | 'multiline' | 'multiline-arguments' | 'consistent' | Partial<{
minItems: number;
}>
]>;
"function-paren-newline": Linter.RuleEntry<
[
| "always"
| "never"
| "multiline"
| "multiline-arguments"
| "consistent"
| Partial<{
minItems: number;
}>,
]
>;

@@ -352,5 +395,3 @@ /**

*/
'id-blacklist': Linter.RuleEntry<[
...string[]
]>;
"id-blacklist": Linter.RuleEntry<[...string[]]>;

@@ -363,19 +404,21 @@ /**

*/
'id-length': Linter.RuleEntry<[
Partial<{
/**
* @default 2
*/
min: number;
/**
* @default Infinity
*/
max: number;
/**
* @default 'always'
*/
properties: 'always' | 'never';
exceptions: string[];
}>
]>;
"id-length": Linter.RuleEntry<
[
Partial<{
/**
* @default 2
*/
min: number;
/**
* @default Infinity
*/
max: number;
/**
* @default 'always'
*/
properties: "always" | "never";
exceptions: string[];
}>,
]
>;

@@ -388,19 +431,21 @@ /**

*/
'id-match': Linter.RuleEntry<[
string,
Partial<{
/**
* @default false
*/
properties: boolean;
/**
* @default false
*/
onlyDeclarations: boolean;
/**
* @default false
*/
ignoreDestructuring: boolean;
}>
]>;
"id-match": Linter.RuleEntry<
[
string,
Partial<{
/**
* @default false
*/
properties: boolean;
/**
* @default false
*/
onlyDeclarations: boolean;
/**
* @default false
*/
ignoreDestructuring: boolean;
}>,
]
>;

@@ -413,5 +458,3 @@ /**

*/
'implicit-arrow-linebreak': Linter.RuleEntry<[
'beside' | 'below'
]>;
"implicit-arrow-linebreak": Linter.RuleEntry<["beside" | "below"]>;

@@ -424,92 +467,97 @@ /**

*/
'indent': Linter.RuleEntry<[
number | 'tab',
Partial<{
/**
* @default 0
*/
SwitchCase: number;
/**
* @default 1
*/
VariableDeclarator: Partial<{
indent: Linter.RuleEntry<
[
number | "tab",
Partial<{
/**
* @default 1
* @default 0
*/
var: number | 'first';
SwitchCase: number;
/**
* @default 1
*/
let: number | 'first';
VariableDeclarator:
| Partial<{
/**
* @default 1
*/
var: number | "first";
/**
* @default 1
*/
let: number | "first";
/**
* @default 1
*/
const: number | "first";
}>
| number
| "first";
/**
* @default 1
*/
const: number | 'first';
}> | number | 'first';
/**
* @default 1
*/
outerIIFEBody: number;
/**
* @default 1
*/
MemberExpression: number | 'off';
/**
* @default { parameters: 1, body: 1 }
*/
FunctionDeclaration: Partial<{
outerIIFEBody: number;
/**
* @default 1
*/
parameters: number | 'first' | 'off';
MemberExpression: number | "off";
/**
* @default 1
* @default { parameters: 1, body: 1 }
*/
body: number;
}>;
/**
* @default { parameters: 1, body: 1 }
*/
FunctionExpression: Partial<{
FunctionDeclaration: Partial<{
/**
* @default 1
*/
parameters: number | "first" | "off";
/**
* @default 1
*/
body: number;
}>;
/**
* @default { parameters: 1, body: 1 }
*/
FunctionExpression: Partial<{
/**
* @default 1
*/
parameters: number | "first" | "off";
/**
* @default 1
*/
body: number;
}>;
/**
* @default { arguments: 1 }
*/
CallExpression: Partial<{
/**
* @default 1
*/
arguments: number | "first" | "off";
}>;
/**
* @default 1
*/
parameters: number | 'first' | 'off';
ArrayExpression: number | "first" | "off";
/**
* @default 1
*/
body: number;
}>;
/**
* @default { arguments: 1 }
*/
CallExpression: Partial<{
ObjectExpression: number | "first" | "off";
/**
* @default 1
*/
arguments: number | 'first' | 'off';
}>;
/**
* @default 1
*/
ArrayExpression: number | 'first' | 'off';
/**
* @default 1
*/
ObjectExpression: number | 'first' | 'off';
/**
* @default 1
*/
ImportDeclaration: number | 'first' | 'off';
/**
* @default false
*/
flatTernaryExpressions: boolean;
ignoredNodes: string[];
/**
* @default false
*/
ignoreComments: boolean;
}>
]>;
ImportDeclaration: number | "first" | "off";
/**
* @default false
*/
flatTernaryExpressions: boolean;
ignoredNodes: string[];
/**
* @default false
*/
ignoreComments: boolean;
}>,
]
>;

@@ -522,5 +570,3 @@ /**

*/
'jsx-quotes': Linter.RuleEntry<[
'prefer-double' | 'prefer-single'
]>;
"jsx-quotes": Linter.RuleEntry<["prefer-double" | "prefer-single"]>;

@@ -533,249 +579,268 @@ /**

*/
'key-spacing': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: 'strict' | 'minimum';
align: Partial<{
"key-spacing": Linter.RuleEntry<
[
| Partial<
| {
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
align:
| Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'colon'
*/
on: "value" | "colon";
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
}>
| "value"
| "colon";
}
| {
singleLine?: Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
}>;
multiLine?: Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
align:
| Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'colon'
*/
on: "value" | "colon";
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
}>
| "value"
| "colon";
}>;
}
>
| {
align: Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'colon'
*/
on: "value" | "colon";
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
}>;
singleLine?: Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
}>;
multiLine?: Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: "strict" | "minimum";
}>;
},
]
>;
/**
* Rule to enforce consistent spacing before and after keywords.
*
* @since 2.0.0-beta.1
* @see https://eslint.org/docs/rules/keyword-spacing
*/
"keyword-spacing": Linter.RuleEntry<
[
Partial<{
/**
* @default false
* @default true
*/
beforeColon: boolean;
before: boolean;
/**
* @default true
*/
afterColon: boolean;
after: boolean;
overrides: Record<
string,
Partial<{
before: boolean;
after: boolean;
}>
>;
}>,
]
>;
/**
* Rule to enforce position of line comments.
*
* @since 3.5.0
* @see https://eslint.org/docs/rules/line-comment-position
*/
"line-comment-position": Linter.RuleEntry<
[
Partial<{
/**
* @default 'colon'
* @default 'above'
*/
on: 'value' | 'colon';
position: "above" | "beside";
ignorePattern: string;
/**
* @default 'strict'
* @default true
*/
mode: 'strict' | 'minimum';
}> | 'value' | 'colon';
} | {
singleLine?: Partial<{
applyDefaultIgnorePatterns: boolean;
}>,
]
>;
/**
* Rule to enforce consistent linebreak style.
*
* @since 0.21.0
* @see https://eslint.org/docs/rules/linebreak-style
*/
"linebreak-style": Linter.RuleEntry<["unix" | "windows"]>;
/**
* Rule to require empty lines around comments.
*
* @since 0.22.0
* @see https://eslint.org/docs/rules/lines-around-comment
*/
"lines-around-comment": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
beforeBlockComment: boolean;
/**
* @default 'strict'
* @default false
*/
mode: 'strict' | 'minimum';
}>;
multiLine?: Partial<{
afterBlockComment: boolean;
/**
* @default false
*/
beforeColon: boolean;
beforeLineComment: boolean;
/**
* @default true
* @default false
*/
afterColon: boolean;
afterLineComment: boolean;
/**
* @default 'strict'
* @default false
*/
mode: 'strict' | 'minimum';
align: Partial<{
/**
* @default false
*/
beforeColon: boolean;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'colon'
*/
on: 'value' | 'colon';
/**
* @default 'strict'
*/
mode: 'strict' | 'minimum';
}> | 'value' | 'colon';
}>;
}> | {
align: Partial<{
allowBlockStart: boolean;
/**
* @default false
*/
beforeColon: boolean;
allowBlockEnd: boolean;
/**
* @default true
* @default false
*/
afterColon: boolean;
allowObjectStart: boolean;
/**
* @default 'colon'
* @default false
*/
on: 'value' | 'colon';
allowObjectEnd: boolean;
/**
* @default 'strict'
* @default false
*/
mode: 'strict' | 'minimum';
}>;
singleLine?: Partial<{
allowArrayStart: boolean;
/**
* @default false
*/
beforeColon: boolean;
allowArrayEnd: boolean;
/**
* @default true
* @default false
*/
afterColon: boolean;
allowClassStart: boolean;
/**
* @default 'strict'
*/
mode: 'strict' | 'minimum';
}>;
multiLine?: Partial<{
/**
* @default false
*/
beforeColon: boolean;
allowClassEnd: boolean;
ignorePattern: string;
/**
* @default true
*/
afterColon: boolean;
/**
* @default 'strict'
*/
mode: 'strict' | 'minimum';
}>;
}
]>;
applyDefaultIgnorePatterns: boolean;
}>,
]
>;
/**
* Rule to enforce consistent spacing before and after keywords.
*
* @since 2.0.0-beta.1
* @see https://eslint.org/docs/rules/keyword-spacing
*/
'keyword-spacing': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
before: boolean;
/**
* @default true
*/
after: boolean;
overrides: Record<string, Partial<{
before: boolean;
after: boolean;
}>>;
}>
]>;
/**
* Rule to enforce position of line comments.
*
* @since 3.5.0
* @see https://eslint.org/docs/rules/line-comment-position
*/
'line-comment-position': Linter.RuleEntry<[
Partial<{
/**
* @default 'above'
*/
position: 'above' | 'beside';
ignorePattern: string;
/**
* @default true
*/
applyDefaultIgnorePatterns: boolean;
}>
]>;
/**
* Rule to enforce consistent linebreak style.
*
* @since 0.21.0
* @see https://eslint.org/docs/rules/linebreak-style
*/
'linebreak-style': Linter.RuleEntry<[
'unix' | 'windows'
]>;
/**
* Rule to require empty lines around comments.
*
* @since 0.22.0
* @see https://eslint.org/docs/rules/lines-around-comment
*/
'lines-around-comment': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
beforeBlockComment: boolean;
/**
* @default false
*/
afterBlockComment: boolean;
/**
* @default false
*/
beforeLineComment: boolean;
/**
* @default false
*/
afterLineComment: boolean;
/**
* @default false
*/
allowBlockStart: boolean;
/**
* @default false
*/
allowBlockEnd: boolean;
/**
* @default false
*/
allowObjectStart: boolean;
/**
* @default false
*/
allowObjectEnd: boolean;
/**
* @default false
*/
allowArrayStart: boolean;
/**
* @default false
*/
allowArrayEnd: boolean;
/**
* @default false
*/
allowClassStart: boolean;
/**
* @default false
*/
allowClassEnd: boolean;
ignorePattern: string;
/**
* @default true
*/
applyDefaultIgnorePatterns: boolean;
}>
]>;
/**
* Rule to require or disallow an empty line between class members.

@@ -786,11 +851,13 @@ *

*/
'lines-between-class-members': Linter.RuleEntry<[
'always' | 'never',
Partial<{
/**
* @default false
*/
exceptAfterSingleLine: boolean;
}>
]>;
"lines-between-class-members": Linter.RuleEntry<
[
"always" | "never",
Partial<{
/**
* @default false
*/
exceptAfterSingleLine: boolean;
}>,
]
>;

@@ -803,10 +870,12 @@ /**

*/
'max-depth': Linter.RuleEntry<[
Partial<{
/**
* @default 4
*/
max: number;
}>
]>;
"max-depth": Linter.RuleEntry<
[
Partial<{
/**
* @default 4
*/
max: number;
}>,
]
>;

@@ -819,40 +888,42 @@ /**

*/
'max-len': Linter.RuleEntry<[
Partial<{
/**
* @default 80
*/
code: number;
/**
* @default 4
*/
tabWidth: number;
comments: number;
ignorePattern: string;
/**
* @default false
*/
ignoreComments: boolean;
/**
* @default false
*/
ignoreTrailingComments: boolean;
/**
* @default false
*/
ignoreUrls: boolean;
/**
* @default false
*/
ignoreStrings: boolean;
/**
* @default false
*/
ignoreTemplateLiterals: boolean;
/**
* @default false
*/
ignoreRegExpLiterals: boolean;
}>
]>;
"max-len": Linter.RuleEntry<
[
Partial<{
/**
* @default 80
*/
code: number;
/**
* @default 4
*/
tabWidth: number;
comments: number;
ignorePattern: string;
/**
* @default false
*/
ignoreComments: boolean;
/**
* @default false
*/
ignoreTrailingComments: boolean;
/**
* @default false
*/
ignoreUrls: boolean;
/**
* @default false
*/
ignoreStrings: boolean;
/**
* @default false
*/
ignoreTemplateLiterals: boolean;
/**
* @default false
*/
ignoreRegExpLiterals: boolean;
}>,
]
>;

@@ -865,18 +936,21 @@ /**

*/
'max-lines': Linter.RuleEntry<[
Partial<{
/**
* @default 300
*/
max: number;
/**
* @default false
*/
skipBlankLines: boolean;
/**
* @default false
*/
skipComments: boolean;
}> | number
]>;
"max-lines": Linter.RuleEntry<
[
| Partial<{
/**
* @default 300
*/
max: number;
/**
* @default false
*/
skipBlankLines: boolean;
/**
* @default false
*/
skipComments: boolean;
}>
| number,
]
>;

@@ -889,22 +963,24 @@ /**

*/
'max-lines-per-function': Linter.RuleEntry<[
Partial<{
/**
* @default 50
*/
max: number;
/**
* @default false
*/
skipBlankLines: boolean;
/**
* @default false
*/
skipComments: boolean;
/**
* @default false
*/
IIFEs: boolean;
}>
]>;
"max-lines-per-function": Linter.RuleEntry<
[
Partial<{
/**
* @default 50
*/
max: number;
/**
* @default false
*/
skipBlankLines: boolean;
/**
* @default false
*/
skipComments: boolean;
/**
* @default false
*/
IIFEs: boolean;
}>,
]
>;

@@ -917,10 +993,13 @@ /**

*/
'max-nested-callbacks': Linter.RuleEntry<[
Partial<{
/**
* @default 10
*/
max: number;
}> | number
]>;
"max-nested-callbacks": Linter.RuleEntry<
[
| Partial<{
/**
* @default 10
*/
max: number;
}>
| number,
]
>;

@@ -933,10 +1012,13 @@ /**

*/
'max-params': Linter.RuleEntry<[
Partial<{
/**
* @default 3
*/
max: number;
}> | number
]>;
"max-params": Linter.RuleEntry<
[
| Partial<{
/**
* @default 3
*/
max: number;
}>
| number,
]
>;

@@ -949,14 +1031,17 @@ /**

*/
'max-statements': Linter.RuleEntry<[
Partial<{
/**
* @default 10
*/
max: number;
/**
* @default false
*/
ignoreTopLevelFunctions: boolean;
}> | number
]>;
"max-statements": Linter.RuleEntry<
[
| Partial<{
/**
* @default 10
*/
max: number;
/**
* @default false
*/
ignoreTopLevelFunctions: boolean;
}>
| number,
]
>;

@@ -969,10 +1054,13 @@ /**

*/
'max-statements-per-line': Linter.RuleEntry<[
Partial<{
/**
* @default 1
*/
max: number;
}> | number
]>;
"max-statements-per-line": Linter.RuleEntry<
[
| Partial<{
/**
* @default 1
*/
max: number;
}>
| number,
]
>;

@@ -985,5 +1073,3 @@ /**

*/
'multiline-comment-style': Linter.RuleEntry<[
'starred-block' | 'bare-block' | 'separate-lines'
]>;
"multiline-comment-style": Linter.RuleEntry<["starred-block" | "bare-block" | "separate-lines"]>;

@@ -996,5 +1082,3 @@ /**

*/
'multiline-ternary': Linter.RuleEntry<[
'always' | 'always-multiline' | 'never'
]>;
"multiline-ternary": Linter.RuleEntry<["always" | "always-multiline" | "never"]>;

@@ -1007,22 +1091,24 @@ /**

*/
'new-cap': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
newIsCap: boolean;
/**
* @default true
*/
capIsNew: boolean;
newIsCapExceptions: string[];
newIsCapExceptionPattern: string;
capIsNewExceptions: string[];
capIsNewExceptionPattern: string;
/**
* @default true
*/
properties: boolean;
}>
]>;
"new-cap": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
newIsCap: boolean;
/**
* @default true
*/
capIsNew: boolean;
newIsCapExceptions: string[];
newIsCapExceptionPattern: string;
capIsNewExceptions: string[];
capIsNewExceptionPattern: string;
/**
* @default true
*/
properties: boolean;
}>,
]
>;

@@ -1035,5 +1121,3 @@ /**

*/
'new-parens': Linter.RuleEntry<[
'always' | 'never'
]>;
"new-parens": Linter.RuleEntry<["always" | "never"]>;

@@ -1046,10 +1130,12 @@ /**

*/
'newline-per-chained-call': Linter.RuleEntry<[
{
/**
* @default 2
*/
ignoreChainWithDepth: number;
}
]>;
"newline-per-chained-call": Linter.RuleEntry<
[
{
/**
* @default 2
*/
ignoreChainWithDepth: number;
},
]
>;

@@ -1062,3 +1148,3 @@ /**

*/
'no-array-constructor': Linter.RuleEntry<[]>;
"no-array-constructor": Linter.RuleEntry<[]>;

@@ -1071,11 +1157,13 @@ /**

*/
'no-bitwise': Linter.RuleEntry<[
Partial<{
allow: string[];
/**
* @default false
*/
int32Hint: boolean;
}>
]>;
"no-bitwise": Linter.RuleEntry<
[
Partial<{
allow: string[];
/**
* @default false
*/
int32Hint: boolean;
}>,
]
>;

@@ -1088,3 +1176,3 @@ /**

*/
'no-continue': Linter.RuleEntry<[]>;
"no-continue": Linter.RuleEntry<[]>;

@@ -1097,3 +1185,3 @@ /**

*/
'no-inline-comments': Linter.RuleEntry<[]>;
"no-inline-comments": Linter.RuleEntry<[]>;

@@ -1106,3 +1194,3 @@ /**

*/
'no-lonely-if': Linter.RuleEntry<[]>;
"no-lonely-if": Linter.RuleEntry<[]>;

@@ -1115,21 +1203,23 @@ /**

*/
'no-mixed-operators': Linter.RuleEntry<[
Partial<{
/**
* @default
* [
* ["+", "-", "*", "/", "%", "**"],
* ["&", "|", "^", "~", "<<", ">>", ">>>"],
* ["==", "!=", "===", "!==", ">", ">=", "<", "<="],
* ["&&", "||"],
* ["in", "instanceof"]
* ]
*/
groups: string[][];
/**
* @default true
*/
allowSamePrecedence: boolean;
}>
]>;
"no-mixed-operators": Linter.RuleEntry<
[
Partial<{
/**
* @default
* [
* ["+", "-", "*", "/", "%", "**"],
* ["&", "|", "^", "~", "<<", ">>", ">>>"],
* ["==", "!=", "===", "!==", ">", ">=", "<", "<="],
* ["&&", "||"],
* ["in", "instanceof"]
* ]
*/
groups: string[][];
/**
* @default true
*/
allowSamePrecedence: boolean;
}>,
]
>;

@@ -1145,5 +1235,3 @@ /**

*/
'no-mixed-spaces-and-tabs': Linter.RuleEntry<[
'smart-tabs'
]>;
"no-mixed-spaces-and-tabs": Linter.RuleEntry<["smart-tabs"]>;

@@ -1156,3 +1244,3 @@ /**

*/
'no-multi-assign': Linter.RuleEntry<[]>;
"no-multi-assign": Linter.RuleEntry<[]>;

@@ -1165,12 +1253,15 @@ /**

*/
'no-multiple-empty-lines': Linter.RuleEntry<[
Partial<{
/**
* @default 2
*/
max: number;
maxEOF: number;
maxBOF: number;
}> | number
]>;
"no-multiple-empty-lines": Linter.RuleEntry<
[
| Partial<{
/**
* @default 2
*/
max: number;
maxEOF: number;
maxBOF: number;
}>
| number,
]
>;

@@ -1183,3 +1274,3 @@ /**

*/
'no-negated-condition': Linter.RuleEntry<[]>;
"no-negated-condition": Linter.RuleEntry<[]>;

@@ -1192,3 +1283,3 @@ /**

*/
'no-nested-ternary': Linter.RuleEntry<[]>;
"no-nested-ternary": Linter.RuleEntry<[]>;

@@ -1201,3 +1292,3 @@ /**

*/
'no-new-object': Linter.RuleEntry<[]>;
"no-new-object": Linter.RuleEntry<[]>;

@@ -1210,10 +1301,12 @@ /**

*/
'no-plusplus': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowForLoopAfterthoughts: boolean;
}>
]>;
"no-plusplus": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowForLoopAfterthoughts: boolean;
}>,
]
>;

@@ -1226,8 +1319,13 @@ /**

*/
'no-restricted-syntax': Linter.RuleEntry<[
...Array<string | {
selector: string;
message?: string;
}>
]>;
"no-restricted-syntax": Linter.RuleEntry<
[
...Array<
| string
| {
selector: string;
message?: string;
}
>
]
>;

@@ -1240,10 +1338,12 @@ /**

*/
'no-tabs': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowIndentationTabs: boolean;
}>
]>;
"no-tabs": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowIndentationTabs: boolean;
}>,
]
>;

@@ -1256,3 +1356,3 @@ /**

*/
'no-ternary': Linter.RuleEntry<[]>;
"no-ternary": Linter.RuleEntry<[]>;

@@ -1265,14 +1365,16 @@ /**

*/
'no-trailing-spaces': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
skipBlankLines: boolean;
/**
* @default false
*/
ignoreComments: boolean;
}>
]>;
"no-trailing-spaces": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
skipBlankLines: boolean;
/**
* @default false
*/
ignoreComments: boolean;
}>,
]
>;

@@ -1285,19 +1387,21 @@ /**

*/
'no-underscore-dangle': Linter.RuleEntry<[
Partial<{
allow: string[];
/**
* @default false
*/
allowAfterThis: boolean;
/**
* @default false
*/
allowAfterSuper: boolean;
/**
* @default false
*/
enforceInMethodNames: boolean;
}>
]>;
"no-underscore-dangle": Linter.RuleEntry<
[
Partial<{
allow: string[];
/**
* @default false
*/
allowAfterThis: boolean;
/**
* @default false
*/
allowAfterSuper: boolean;
/**
* @default false
*/
enforceInMethodNames: boolean;
}>,
]
>;

@@ -1310,10 +1414,12 @@ /**

*/
'no-unneeded-ternary': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
defaultAssignment: boolean;
}>
]>;
"no-unneeded-ternary": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
defaultAssignment: boolean;
}>,
]
>;

@@ -1326,3 +1432,3 @@ /**

*/
'no-whitespace-before-property': Linter.RuleEntry<[]>;
"no-whitespace-before-property": Linter.RuleEntry<[]>;

@@ -1335,8 +1441,10 @@ /**

*/
'nonblock-statement-body-position': Linter.RuleEntry<[
'beside' | 'below' | 'any',
Partial<{
overrides: Record<string, 'beside' | 'below' | 'any'>;
}>
]>;
"nonblock-statement-body-position": Linter.RuleEntry<
[
"beside" | "below" | "any",
Partial<{
overrides: Record<string, "beside" | "below" | "any">;
}>,
]
>;

@@ -1349,29 +1457,37 @@ /**

*/
'object-curly-newline': Linter.RuleEntry<[
| 'always' | 'never'
| Partial<{
/**
* @default false
*/
multiline: boolean;
minProperties: number;
/**
* @default true
*/
consistent: boolean;
}>
| Partial<Record<'ObjectExpression' | 'ObjectPattern' | 'ImportDeclaration' | 'ExportDeclaration',
| 'always' | 'never'
"object-curly-newline": Linter.RuleEntry<
[
| "always"
| "never"
| Partial<{
/**
* @default false
*/
multiline: boolean;
minProperties: number;
/**
* @default true
*/
consistent: boolean;
}>>>
]>;
/**
* @default false
*/
multiline: boolean;
minProperties: number;
/**
* @default true
*/
consistent: boolean;
}>
| Partial<
Record<
"ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportDeclaration",
| "always"
| "never"
| Partial<{
/**
* @default false
*/
multiline: boolean;
minProperties: number;
/**
* @default true
*/
consistent: boolean;
}>
>
>,
]
>;

@@ -1384,27 +1500,33 @@ /**

*/
'object-curly-spacing': Linter.RuleEntry<[
'never',
{
/**
* @default false
*/
arraysInObjects: boolean;
/**
* @default false
*/
objectsInObjects: boolean;
}
]> | Linter.RuleEntry<[
'always',
{
/**
* @default true
*/
arraysInObjects: boolean;
/**
* @default true
*/
objectsInObjects: boolean;
}
]>;
"object-curly-spacing":
| Linter.RuleEntry<
[
"never",
{
/**
* @default false
*/
arraysInObjects: boolean;
/**
* @default false
*/
objectsInObjects: boolean;
},
]
>
| Linter.RuleEntry<
[
"always",
{
/**
* @default true
*/
arraysInObjects: boolean;
/**
* @default true
*/
objectsInObjects: boolean;
},
]
>;

@@ -1417,10 +1539,12 @@ /**

*/
'object-property-newline': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
allowAllPropertiesOnSameLine: boolean;
}>
]>;
"object-property-newline": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
allowAllPropertiesOnSameLine: boolean;
}>,
]
>;

@@ -1433,12 +1557,18 @@ /**

*/
'one-var': Linter.RuleEntry<[
| 'always' | 'never' | 'consecutive'
| Partial<{
/**
* @default false
*/
separateRequires: boolean;
} & Record<'var' | 'let' | 'const', 'always' | 'never' | 'consecutive'>>
| Partial<Record<'initialized' | 'uninitialized', 'always' | 'never' | 'consecutive'>>
]>;
"one-var": Linter.RuleEntry<
[
| "always"
| "never"
| "consecutive"
| Partial<
{
/**
* @default false
*/
separateRequires: boolean;
} & Record<"var" | "let" | "const", "always" | "never" | "consecutive">
>
| Partial<Record<"initialized" | "uninitialized", "always" | "never" | "consecutive">>,
]
>;

@@ -1451,5 +1581,3 @@ /**

*/
'one-var-declaration-per-line': Linter.RuleEntry<[
'initializations' | 'always'
]>;
"one-var-declaration-per-line": Linter.RuleEntry<["initializations" | "always"]>;

@@ -1462,5 +1590,3 @@ /**

*/
'operator-assignment': Linter.RuleEntry<[
'always' | 'never'
]>;
"operator-assignment": Linter.RuleEntry<["always" | "never"]>;

@@ -1473,8 +1599,10 @@ /**

*/
'operator-linebreak': Linter.RuleEntry<[
'after' | 'before' | 'none',
Partial<{
overrides: Record<string, 'after' | 'before' | 'none'>;
}>
]>;
"operator-linebreak": Linter.RuleEntry<
[
"after" | "before" | "none",
Partial<{
overrides: Record<string, "after" | "before" | "none">;
}>,
]
>;

@@ -1487,12 +1615,13 @@ /**

*/
'padded-blocks': Linter.RuleEntry<[
| 'always' | 'never'
| Partial<Record<'blocks' | 'classes' | 'switches', 'always' | 'never'>>,
{
/**
* @default false
*/
allowSingleLineBlocks: boolean;
}
]>;
"padded-blocks": Linter.RuleEntry<
[
"always" | "never" | Partial<Record<"blocks" | "classes" | "switches", "always" | "never">>,
{
/**
* @default false
*/
allowSingleLineBlocks: boolean;
},
]
>;

@@ -1505,7 +1634,11 @@ /**

*/
'padding-line-between-statements': Linter.RuleEntry<[
...Array<{
blankLine: 'any' | 'never' | 'always';
} & Record<'prev' | 'next', string | string[]>>
]>;
"padding-line-between-statements": Linter.RuleEntry<
[
...Array<
{
blankLine: "any" | "never" | "always";
} & Record<"prev" | "next", string | string[]>
>
]
>;

@@ -1518,3 +1651,3 @@ /**

*/
'prefer-object-spread': Linter.RuleEntry<[]>;
"prefer-object-spread": Linter.RuleEntry<[]>;

@@ -1527,29 +1660,34 @@ /**

*/
'quote-props': Linter.RuleEntry<[
'always' | 'consistent'
]> | Linter.RuleEntry<[
'as-needed',
Partial<{
/**
* @default false
*/
keywords: boolean;
/**
* @default true
*/
unnecessary: boolean;
/**
* @default false
*/
numbers: boolean;
}>
]> | Linter.RuleEntry<[
'consistent-as-needed',
Partial<{
/**
* @default false
*/
keywords: boolean;
}>
]>;
"quote-props":
| Linter.RuleEntry<["always" | "consistent"]>
| Linter.RuleEntry<
[
"as-needed",
Partial<{
/**
* @default false
*/
keywords: boolean;
/**
* @default true
*/
unnecessary: boolean;
/**
* @default false
*/
numbers: boolean;
}>,
]
>
| Linter.RuleEntry<
[
"consistent-as-needed",
Partial<{
/**
* @default false
*/
keywords: boolean;
}>,
]
>;

@@ -1562,15 +1700,17 @@ /**

*/
'quotes': Linter.RuleEntry<[
'double' | 'single' | 'backtick',
Partial<{
/**
* @default false
*/
avoidEscape: boolean;
/**
* @default false
*/
allowTemplateLiterals: boolean;
}>
]>;
quotes: Linter.RuleEntry<
[
"double" | "single" | "backtick",
Partial<{
/**
* @default false
*/
avoidEscape: boolean;
/**
* @default false
*/
allowTemplateLiterals: boolean;
}>,
]
>;

@@ -1583,19 +1723,25 @@ /**

*/
'semi': Linter.RuleEntry<[
'always',
Partial<{
/**
* @default false
*/
omitLastInOneLineBlock: boolean;
}>
]> | Linter.RuleEntry<[
'never',
Partial<{
/**
* @default 'any'
*/
beforeStatementContinuationChars: 'any' | 'always' | 'never';
}>
]>;
semi:
| Linter.RuleEntry<
[
"always",
Partial<{
/**
* @default false
*/
omitLastInOneLineBlock: boolean;
}>,
]
>
| Linter.RuleEntry<
[
"never",
Partial<{
/**
* @default 'any'
*/
beforeStatementContinuationChars: "any" | "always" | "never";
}>,
]
>;

@@ -1608,14 +1754,16 @@ /**

*/
'semi-spacing': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
before: boolean;
/**
* @default true
*/
after: boolean;
}>
]>;
"semi-spacing": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
before: boolean;
/**
* @default true
*/
after: boolean;
}>,
]
>;

@@ -1628,5 +1776,3 @@ /**

*/
'semi-style': Linter.RuleEntry<[
'last' | 'first'
]>;
"semi-style": Linter.RuleEntry<["last" | "first"]>;

@@ -1639,19 +1785,21 @@ /**

*/
'sort-keys': Linter.RuleEntry<[
'asc' | 'desc',
Partial<{
/**
* @default true
*/
caseSensitive: boolean;
/**
* @default 2
*/
minKeys: number;
/**
* @default false
*/
natural: boolean;
}>
]>;
"sort-keys": Linter.RuleEntry<
[
"asc" | "desc",
Partial<{
/**
* @default true
*/
caseSensitive: boolean;
/**
* @default 2
*/
minKeys: number;
/**
* @default false
*/
natural: boolean;
}>,
]
>;

@@ -1664,10 +1812,12 @@ /**

*/
'sort-vars': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
ignoreCase: boolean;
}>
]>;
"sort-vars": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
ignoreCase: boolean;
}>,
]
>;

@@ -1680,6 +1830,5 @@ /**

*/
'space-before-blocks': Linter.RuleEntry<[
| 'always' | 'never'
| Partial<Record<'functions' | 'keywords' | 'classes', 'always' | 'never' | 'off'>>
]>;
"space-before-blocks": Linter.RuleEntry<
["always" | "never" | Partial<Record<"functions" | "keywords" | "classes", "always" | "never" | "off">>]
>;

@@ -1692,6 +1841,5 @@ /**

*/
'space-before-function-paren': Linter.RuleEntry<[
| 'always' | 'never'
| Partial<Record<'anonymous' | 'named' | 'asyncArrow', 'always' | 'never' | 'ignore'>>
]>;
"space-before-function-paren": Linter.RuleEntry<
["always" | "never" | Partial<Record<"anonymous" | "named" | "asyncArrow", "always" | "never" | "ignore">>]
>;

@@ -1704,8 +1852,10 @@ /**

*/
'space-in-parens': Linter.RuleEntry<[
'never' | 'always',
Partial<{
exceptions: string[];
}>
]>;
"space-in-parens": Linter.RuleEntry<
[
"never" | "always",
Partial<{
exceptions: string[];
}>,
]
>;

@@ -1718,10 +1868,12 @@ /**

*/
'space-infix-ops': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
int32Hint: boolean;
}>
]>;
"space-infix-ops": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
int32Hint: boolean;
}>,
]
>;

@@ -1734,15 +1886,17 @@ /**

*/
'space-unary-ops': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
words: boolean;
/**
* @default false
*/
nonwords: boolean;
overrides: Record<string, boolean>;
}>
]>;
"space-unary-ops": Linter.RuleEntry<
[
Partial<{
/**
* @default true
*/
words: boolean;
/**
* @default false
*/
nonwords: boolean;
overrides: Record<string, boolean>;
}>,
]
>;

@@ -1755,21 +1909,23 @@ /**

*/
'spaced-comment': Linter.RuleEntry<[
'always' | 'never',
{
exceptions: string[];
markers: string[];
line: {
"spaced-comment": Linter.RuleEntry<
[
"always" | "never",
{
exceptions: string[];
markers: string[];
};
block: {
exceptions: string[];
markers: string[];
/**
* @default false
*/
balanced: boolean;
};
}
]>;
line: {
exceptions: string[];
markers: string[];
};
block: {
exceptions: string[];
markers: string[];
/**
* @default false
*/
balanced: boolean;
};
},
]
>;

@@ -1782,14 +1938,16 @@ /**

*/
'switch-colon-spacing': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
before: boolean;
/**
* @default true
*/
after: boolean;
}>
]>;
"switch-colon-spacing": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
before: boolean;
/**
* @default true
*/
after: boolean;
}>,
]
>;

@@ -1802,5 +1960,3 @@ /**

*/
'template-tag-spacing': Linter.RuleEntry<[
'never' | 'always'
]>;
"template-tag-spacing": Linter.RuleEntry<["never" | "always"]>;

@@ -1813,5 +1969,3 @@ /**

*/
'unicode-bom': Linter.RuleEntry<[
'never' | 'always'
]>;
"unicode-bom": Linter.RuleEntry<["never" | "always"]>;

@@ -1824,3 +1978,3 @@ /**

*/
'wrap-regex': Linter.RuleEntry<[]>;
"wrap-regex": Linter.RuleEntry<[]>;
}

@@ -1,2 +0,2 @@

import { Linter } from '../index';
import { Linter } from "../index";

@@ -10,10 +10,12 @@ export interface Variables extends Linter.RulesRecord {

*/
'init-declarations': Linter.RuleEntry<[
'always'
]> | Linter.RuleEntry<[
'never',
Partial<{
ignoreForLoopInit: boolean;
}>
]>;
"init-declarations":
| Linter.RuleEntry<["always"]>
| Linter.RuleEntry<
[
"never",
Partial<{
ignoreForLoopInit: boolean;
}>,
]
>;

@@ -29,3 +31,3 @@ /**

*/
'no-delete-var': Linter.RuleEntry<[]>;
"no-delete-var": Linter.RuleEntry<[]>;

@@ -38,3 +40,3 @@ /**

*/
'no-label-var': Linter.RuleEntry<[]>;
"no-label-var": Linter.RuleEntry<[]>;

@@ -47,8 +49,13 @@ /**

*/
'no-restricted-globals': Linter.RuleEntry<[
...Array<string | {
name: string;
message?: string;
}>
]>;
"no-restricted-globals": Linter.RuleEntry<
[
...Array<
| string
| {
name: string;
message?: string;
}
>
]
>;

@@ -61,15 +68,17 @@ /**

*/
'no-shadow': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
builtinGlobals: boolean;
/**
* @default 'functions'
*/
hoist: 'functions' | 'all' | 'never';
allow: string[];
}>
]>;
"no-shadow": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
builtinGlobals: boolean;
/**
* @default 'functions'
*/
hoist: "functions" | "all" | "never";
allow: string[];
}>,
]
>;

@@ -85,3 +94,3 @@ /**

*/
'no-shadow-restricted-names': Linter.RuleEntry<[]>;
"no-shadow-restricted-names": Linter.RuleEntry<[]>;

@@ -97,10 +106,12 @@ /**

*/
'no-undef': Linter.RuleEntry<[
Partial<{
/**
* @default false
*/
typeof: boolean;
}>
]>;
"no-undef": Linter.RuleEntry<
[
Partial<{
/**
* @default false
*/
typeof: boolean;
}>,
]
>;

@@ -113,3 +124,3 @@ /**

*/
'no-undef-init': Linter.RuleEntry<[]>;
"no-undef-init": Linter.RuleEntry<[]>;

@@ -122,3 +133,3 @@ /**

*/
'no-undefined': Linter.RuleEntry<[]>;
"no-undefined": Linter.RuleEntry<[]>;

@@ -134,25 +145,27 @@ /**

*/
'no-unused-vars': Linter.RuleEntry<[
Partial<{
/**
* @default 'all'
*/
vars: 'all' | 'local';
varsIgnorePattern: string;
/**
* @default 'after-used'
*/
args: 'after-used' | 'all' | 'none';
/**
* @default false
*/
ignoreRestSiblings: boolean;
argsIgnorePattern: string;
/**
* @default 'none'
*/
caughtErrors: 'none' | 'all';
caughtErrorsIgnorePattern: string;
}>
]>;
"no-unused-vars": Linter.RuleEntry<
[
Partial<{
/**
* @default 'all'
*/
vars: "all" | "local";
varsIgnorePattern: string;
/**
* @default 'after-used'
*/
args: "after-used" | "all" | "none";
/**
* @default false
*/
ignoreRestSiblings: boolean;
argsIgnorePattern: string;
/**
* @default 'none'
*/
caughtErrors: "none" | "all";
caughtErrorsIgnorePattern: string;
}>,
]
>;

@@ -165,18 +178,21 @@ /**

*/
'no-use-before-define': Linter.RuleEntry<[
Partial<{
/**
* @default true
*/
functions: boolean;
/**
* @default true
*/
classes: boolean;
/**
* @default true
*/
variables: boolean;
}> | 'nofunc'
]>;
"no-use-before-define": Linter.RuleEntry<
[
| Partial<{
/**
* @default true
*/
functions: boolean;
/**
* @default true
*/
classes: boolean;
/**
* @default true
*/
variables: boolean;
}>
| "nofunc",
]
>;
}
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