Skip to main content
Version: v10.0.0

HyperFetchPluginRule

A rule with its context and visitor types erased, so the plugin fits both ESLint's and typescript-eslint's config types. Their rule types do not fit each other: typescript-eslint's visitors take never , ESLint's take any[] .


Import
import { HyperFetchPluginRule } from "eslint-plugin-hyper-fetch"

Preview​

type HyperFetchPluginRule = {
meta?: object;
create: any;
}

Structure​

HyperFetchPluginRule
NameTypeDescription
meta
object
create(context)
create