You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that this option applies only to identifiers inside destructuring patterns. It doesn't additionally allow any particular use of the created variables later in the code apart from the use that is already allowed by default or by other options.
158
+
159
+
Examples of additional **incorrect** code for this rule with the `{ "ignoreDestructuring": true }` option:
// do something with 'rest', nothing with 'some_property'
177
+
```
178
+
179
+
Another common use case for this option is in combination with `{ "properties": "never" }`, when the identifier is intended to be used only as a property shorthand.
180
+
181
+
Examples of additional **correct** code for this rule with the `{ "properties": "never", "ignoreDestructuring": true }` options:
0 commit comments