@sparkdotfi/common-linter
v0.2.0-20251013.77f0fb53
Published
Create new directory and file in src/rules, implement the rule using `createRule` helper and add the rule in src/rules/rules.ts.
Readme
Common linter
Adding new rule:
Create new directory and file in src/rules, implement the rule using createRule helper and add the rule in src/rules/rules.ts.
Updating the documentation
Run below commands to update the documentation, include --init-rule-docs if creating the documentation for new rule.
pnpm build
pnpm docs:generate💭 Requires type information.
| Name | Description | 💭 | | :------------------------------------------------------------------------- | :---------------------------------------------------------------- | :- | | no-object-comparison | Disables object comparison | 💭 | | require-using-for-disposable | Requires "using" keyword usage on disposable and async disposable | 💭 |
