We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
allowDestructuring
true
1 parent ce4ef1e commit 99aab06Copy full SHA for 99aab06
packages/eslint-plugin/docs/rules/no-this-alias.md
@@ -44,7 +44,7 @@ You can pass an object option:
44
"@typescript-eslint/no-this-alias": [
45
"error",
46
{
47
- "allowDestructuring": true, // Allow `const { props, state } = this`; false by default
+ "allowDestructuring": false, // Disallow `const { props, state } = this`; true by default
48
"allowedNames": ["self"] // Allow `const self = this`; `[]` by default
49
}
50
]
0 commit comments