Skip to content

Commit 99aab06

Browse files
authored
docs(eslint-plugin): [no-this-alias] allowDestructuring is true by default (#3446)
1 parent ce4ef1e commit 99aab06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/docs/rules/no-this-alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can pass an object option:
4444
"@typescript-eslint/no-this-alias": [
4545
"error",
4646
{
47-
"allowDestructuring": true, // Allow `const { props, state } = this`; false by default
47+
"allowDestructuring": false, // Disallow `const { props, state } = this`; true by default
4848
"allowedNames": ["self"] // Allow `const self = this`; `[]` by default
4949
}
5050
]

0 commit comments

Comments
 (0)