Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support
// scopelint: disable-*
directive to ignore regions (#35
) * feat: initial disable support * refactor: better API for passing around parsed data, disable checks are now done within each validator * test: additional tests * fix: add missing is_in_disabled_region check * doc: fix reference * fix: disabled check now uses the proper loc * refactor: cleaner interface around items and filtering disabled ranges * chore: remove _template.rs easier to just create new lints based on existing files, rather than maintain the template * test: change disble-start to disable-next-item * chore: typo * test: add test for invalid directives * refactor: remove custom type definition * fix: use proper location, add missing disable checks
- Loading branch information