Skip to content

Commit

Permalink
Update docs/developer-guide/working-with-rules.md
Browse files Browse the repository at this point in the history
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
  • Loading branch information
bmish and mdjermanovic committed May 31, 2021
1 parent 9d493bf commit b731a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/developer-guide/working-with-rules.md
Expand Up @@ -71,7 +71,7 @@ The source file for a rule exports an object with the following properties.

* `hasSuggestions` (boolean) specifies whether rules can return suggestions (defaults to `false` if omitted)

**Important:** the `hasSuggestions` property is mandatory for rules that provide suggestions. If this property isn't specified, ESLint will throw an error whenever the rule attempts to produce a suggestion. Omit the `hasSuggestions` property if the rule does not provide suggestions.
**Important:** the `hasSuggestions` property is mandatory for rules that provide suggestions. If this property isn't set to `true`, ESLint will throw an error whenever the rule attempts to produce a suggestion. Omit the `hasSuggestions` property if the rule does not provide suggestions.

* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../user-guide/configuring/rules.md#configuring-rules)

Expand Down

0 comments on commit b731a96

Please sign in to comment.