Closed
Description
{
"rules": {
"@angular-eslint/no-output-native": [
"error"
]
}
}
✅ Valid Code
readonly click = output<KeyboardEvent>();
The code above should be invalid.
❌ Invalid Code
@Output() readonly click = new EventEmitter();
Versions
package | version |
---|---|
@angular-eslint/eslint-plugin-template |
18.2.0 |
@angular-eslint/template-parser |
18.2.0 |
@typescript-eslint/parser |
7.18.0 |
ESLint |
8.57.0 |
node |
20.16.0 |
@angular-devkit/architect 0.1801.3
@angular-devkit/core 18.1.3
@angular-devkit/schematics 18.1.3
@schematics/angular 18.1.3
rxjs 7.8.1
typescript 5.5.4
zone.js 0.14.10
- [X ] I have tried restarting my IDE and the issue persists.
- [ X] I have updated to the latest supported version of the packages and checked my
ng version
output per the instructions given here.