Skip to content

Commit 05a4674

Browse files
committed
Update README.md to say explicitly that all rules are enabled by default.
1 parent dfcb452 commit 05a4674

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -354,16 +354,16 @@ Type: `Object` mapping `String` to `Boolean | Object`
354354

355355
Configures the rules to use.
356356

357-
Object keys are rule names or aliases and values are the rule's configuration.
357+
Object keys are rule names/aliases; object values are the rule's configuration.
358358
The value `false` disables a rule, `true` enables its default configuration,
359-
and passing an object customizes its settings. Setting the special `default`
360-
rule to `true` or `false` includes/excludes all rules by default. Enabling
361-
or disabling a tag name (ex: `whitespace`) affects all rules having that
362-
tag.
363-
364-
The `default` rule is applied first, then keys are processed in order
365-
from top to bottom with later values overriding earlier ones. Keys
366-
(including rule names, aliases, tags, and `default`) are not case-sensitive.
359+
and passing an object value customizes that rule. Setting the special `default`
360+
rule to `true` or `false` includes/excludes all rules by default. In the absence
361+
of a configuration object, all rules are enabled. Enabling or disabling a tag
362+
name (ex: `whitespace`) affects all rules having that tag.
363+
364+
The `default` rule is applied first, then keys are processed in order from top
365+
to bottom with later values overriding earlier ones. Keys (including rule names,
366+
aliases, tags, and `default`) are not case-sensitive.
367367

368368
Example:
369369

0 commit comments

Comments
 (0)