17 lines
634 B
Plaintext
17 lines
634 B
Plaintext
import type { TSESLint } from '@typescript-eslint/utils';
|
|
export type MessageIds = 'noEnumShadow' | 'noShadow' | 'noShadowGlobal';
|
|
export type Options = [
|
|
{
|
|
allow?: string[];
|
|
builtinGlobals?: boolean;
|
|
hoist?: 'all' | 'functions' | 'functions-and-types' | 'never' | 'types';
|
|
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
ignoreOnInitialization?: boolean;
|
|
ignoreTypeValueShadow?: boolean;
|
|
}
|
|
];
|
|
declare const _default: TSESLint.RuleModule<MessageIds, Options, import("../../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
name: string;
|
|
};
|
|
export default _default;
|