Skip to content

Commit

Permalink
Update CONTRIBUTING.md (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin99d committed Dec 23, 2022
1 parent 51bda28 commit d4290e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -48,8 +48,8 @@ prior to merging.
There are four phases to adding a new lint rule:

1. Define the rule in `src/checks.rs`.
2. Define the _logic_ for triggering the rule in `src/check_ast.rs` (for AST-based checks),
`src/check_tokens.rs` (for token-based checks), or `src/check_lines.rs` (for text-based checks).
2. Define the _logic_ for triggering the rule in `src/checkers/ast.rs` (for AST-based checks),
`src/checkers/tokens.rs` (for token-based checks), or `src/checkers/lines.rs` (for text-based checks).
3. Add a test fixture.
4. Update the generated files (documentation and generated code).

Expand Down

0 comments on commit d4290e6

Please sign in to comment.