Skip to content

Commit 75339df

Browse files
authored
docs: fix typos and missing info in id-match docs (#17029)
1 parent b6ab8b2 commit 75339df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/rules/id-match.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ This rule has an object option:
9191

9292
* `"properties": false` (default) does not check object properties
9393
* `"properties": true` requires object literal properties and member expression assignment properties to match the specified regular expression
94-
* `"classFields": false` (default) does not class field names
94+
* `"classFields": false` (default) does not check class field names
9595
* `"classFields": true` requires class field names to match the specified regular expression
9696
* `"onlyDeclarations": false` (default) requires all variable names to match the specified regular expression
97-
* `"onlyDeclarations": true` requires only `var`, `function`, and `class` declarations to match the specified regular expression
97+
* `"onlyDeclarations": true` requires only `var`, `const`, `let`, `function`, and `class` declarations to match the specified regular expression
9898
* `"ignoreDestructuring": false` (default) enforces `id-match` for destructured identifiers
9999
* `"ignoreDestructuring": true` does not check destructured identifiers
100100

0 commit comments

Comments
 (0)