Skip to content

Commit

Permalink
Fix filename for test
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jul 2, 2021
1 parent eac808a commit 100e906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/new-rule.md
Expand Up @@ -13,7 +13,7 @@ Use the [`astexplorer` site](https://astexplorer.net) with the `espree` parser a
## Steps

- Run `$ npm run create-rule` to create files for the new rule.
- Open “test/{RULE_ID}.js” and write some tests before implementing the rule.
- Open “test/{RULE_ID}.mjs” and write some tests before implementing the rule.
- Open “rules/{RULE_ID}.js” and implement the rule logic.
- Add the correct [`meta.type`](https://eslint.org/docs/developer-guide/working-with-rules#rule-basics) to the rule.
- Open “docs/rules/{RULE_ID}.js” and write some documentation.
Expand Down

0 comments on commit 100e906

Please sign in to comment.