Commit c456f8c
fix: fix illegal decorator check (#6723)
* Fix illegal decorator check
* Fix
* Fix scope-manager tests
* Fix member-ordering.test.ts
* Fix no-unused-vars.test.ts
* Fix explicit-member-accessibility.test.ts
* Fix member-ordering-alphabetically-order.test.ts
* Linting
* Don't check setter getters
* Implement `nodeCanBeDecorated`
* Fix comment
* Fix type
* Revert
* Fix
* Use `ts.hasAmbientModifier`
* Revert "Use `ts.hasAmbientModifier`"
This reverts commit 04e3b73.
* refactor: use `getModifiers` and `getDecorators`
* Remove stub hasAmbientModifier
---------
Co-authored-by: Josh Goldberg <[email protected]>1 parent 89b14f2 commit c456f8c
File tree
29 files changed
+283
-97
lines changed- packages
- ast-spec
- src
- declaration
- TSEnumDeclaration/fixtures/_error_/decorator/snapshots
- TSInterfaceDeclaration/fixtures/_error_/decorator/snapshots
- TSTypeAliasDeclaration/fixtures/_error_/decorator/snapshots
- VariableDeclaration/fixtures/_error_/decorator/snapshots
- legacy-fixtures/errorRecovery/fixtures/_error_
- decorator-on-enum-declaration/snapshots
- decorator-on-function/snapshots
- decorator-on-interface-declaration/snapshots
- decorator-on-variable/snapshots
- tests
- eslint-plugin/tests/rules
- member-ordering
- no-unused-vars
- scope-manager/tests
- eslint-scope
- fixtures/decorators
- typescript-estree/src
29 files changed
+283
-97
lines changedLines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments