main
| 1 | import { ESLintUtils } from "@typescript-eslint/utils" |
| 2 | |
| 3 | export interface MedusaRuleDocs { |
| 4 | description: string |
| 5 | recommended?: boolean |
| 6 | strict?: boolean |
| 7 | requiresTypeChecking?: boolean |
| 8 | } |
| 9 | |
| 10 | export const createRule = ESLintUtils.RuleCreator<MedusaRuleDocs>( |
| 11 | (name) => `https://docs.medusajs.com/resources/lint/rules/${name}` |
| 12 | ) |