UNPKG

eslint-plugin-complete

Version:

An ESLint plugin that contains useful rules.

30 lines (27 loc) 609 B
export {}; /* import { ESLintUtils } from "@typescript-eslint/utils"; import { createRule } from "../utils.js"; export const RULE_NAME_CAMEL_CASE = createRule({ name: "RULE_NAME", meta: { type: "problem", docs: { description: "RULE_DESCRIPTION", recommended: true, requiresTypeChecking: true, }, schema: [], messages: { foo: "Foo must be bar.", }, }, defaultOptions: [], create(context) { const parserServices = ESLintUtils.getParserServices(context); const checker = parserServices.program.getTypeChecker(); return { }; }, }); */