eslint-plugin-hyper-fetch
Version:
Eslint plugin for HyperFetch
25 lines (22 loc) • 1.16 kB
TypeScript
import * as _typescript_eslint_utils_dist_ts_eslint from '@typescript-eslint/utils/dist/ts-eslint';
import * as _typescript_eslint_types_dist_generated_ast_spec from '@typescript-eslint/types/dist/generated/ast-spec';
declare const configs: {
recommended: {
plugins: string[];
rules: {
"hyper-fetch/request-generic-types": string;
"hyper-fetch/client-generic-types": string;
};
};
};
declare const rules: {
"request-generic-types": _typescript_eslint_utils_dist_ts_eslint.RuleModule<"emptyGeneric" | "unexpectedGenerics" | "notMatchingGenerics", [], {
CallExpression(node: _typescript_eslint_types_dist_generated_ast_spec.CallExpression): void;
}>;
"client-generic-types": _typescript_eslint_utils_dist_ts_eslint.RuleModule<"emptyGeneric" | "unexpectedGenerics" | "notMatchingGenerics", [], {
CallExpression(node: _typescript_eslint_types_dist_generated_ast_spec.CallExpression): void;
ImportDeclaration: (node: _typescript_eslint_types_dist_generated_ast_spec.ImportDeclaration) => void;
"Program:exit": () => void;
}>;
};
export { configs, rules };