You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-guide/working-with-rules.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -616,6 +616,6 @@ The thing that makes ESLint different from other linters is the ability to defin
616
616
617
617
Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps:
618
618
619
-
1. Place all of your runtime rules in the same directory (i.e.,`eslint_rules`).
619
+
1. Place all of your runtime rules in the same directory (e.g.,`eslint_rules`).
620
620
2. Create a[configuration file](../user-guide/configuring.md) and specify your rule ID error level under the`rules` key. Your rule will not run unless it has a value of`1` or`2` in the configuration file.
621
621
3. Run the[command line interface](../user-guide/command-line-interface.md) using the`--rulesdir` option to specify the location of your runtime rules.