Ende.lint.Plugin
interface ยท experimental
interface Ende.lint.PluginIn your plugins file do something like
export default {
name: "my-plugin",
rules: {
"no-foo": {
create(ctx) {
return {
VariableDeclaration(node) {}
}
}
}
}
} satisfies Ende.lint.Plugin
Properties
name
name: stringrules
rules: Record<string, Rule>