Skip to content
Permalink
Browse files
Docs: Make clear how rule options are overridden (fixes #14962) (#14976)
* Docs: Make clear how rule options are overridden (fixes #14962)

* Docs: Use always double quotes for uniformity
  • Loading branch information
tzeikob committed Aug 31, 2021
1 parent 4165c7f commit 88b4e3d191c2577e2e1a283cc5f825feea6271cc
Showing 1 changed file with 4 additions and 0 deletions.
@@ -192,6 +192,10 @@ The `rules` property can do any of the following to extend (or override) the set
* Base config: `"quotes": ["error", "single", "avoid-escape"]`
* Derived config: `"quotes": ["error", "single"]`
* Resulting actual config: `"quotes": ["error", "single"]`
* override options for rules given as object from base configurations:
* Base config: `"max-lines": ["error", { "max": 200, "skipBlankLines": true, "skipComments": true }]`
* Derived config: `"max-lines": ["error", { "max": 100 }]`
* Resulting actual config: `"max-lines": ["error", { "max": 100 }]` where `skipBlankLines` and `skipComments` default to `false`

### Using a shareable configuration package

0 comments on commit 88b4e3d

Please sign in to comment.