Skip to content

Commit 63d46e2

Browse files
authored
Docs: mention allowed values in require-meta-type rule doc (#121)
1 parent ff0ae38 commit 63d46e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/rules/require-meta-type.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Fixes in custom rules will not be applied when using `--fix-type` unless they in
66

77
## Rule Details
88

9-
This rule aims to require ESLint rules to have a valid `meta.type` property.
9+
This rule aims to require ESLint rules to have a valid `meta.type` property with one of the following values:
10+
11+
* `"problem"` means the rule is identifying code that either will cause an error or may cause a confusing behavior. Developers should consider this a high priority to resolve.
12+
* `"suggestion"` means the rule is identifying something that could be done in a better way but no errors will occur if the code isn't changed.
13+
* `"layout"` means the rule cares primarily about whitespace, semicolons, commas, and parentheses, all the parts of the program that determine how the code looks rather than how it executes. These rules work on parts of the code that aren't specified in the AST.
1014

1115
Examples of **incorrect** code for this rule:
1216

0 commit comments

Comments
 (0)