Skip to content

Commit

Permalink
docs: add eslintrc-only note to --rulesdir (#18281)
Browse files Browse the repository at this point in the history
Added eslintrc-only note to `--rulesdir`
  • Loading branch information
adamlui committed Apr 7, 2024
1 parent e0cbc50 commit 5c35321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/use/command-line-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ npx eslint --rule 'quotes: [error, double]' --no-eslintrc

**Deprecated**: Use rules from plugins instead.

This option allows you to specify another directory from which to load rules files. This allows you to dynamically load new rules at run time. This is useful when you have custom rules that aren't suitable for being bundled with ESLint.
**eslintrc Mode Only.** This option allows you to specify another directory from which to load rules files. This allows you to dynamically load new rules at run time. This is useful when you have custom rules that aren't suitable for being bundled with ESLint.

* **Argument Type**: String. Path to directory. The rules in your custom rules directory must follow the same format as bundled rules to work properly.
* **Multiple Arguments**: Yes.
Expand Down

0 comments on commit 5c35321

Please sign in to comment.