[no-inputs-metadata-property] Angular Host Directive inputs error #1238
Labels
package: eslint-plugin
Angular-specific TypeScript rules
PRs Welcome
If a high-quality PR is created for this it will be accepted
Description and reproduction of the issue
When using the new Angular 15 Directive Composition API and specifying inputs, angular-eslint reports an error.
Use
@Input
rather than theinputs
metadata property (https://angular.io/styleguide#style-05-12) @angular-eslint/no-inputs-metadata-propertyReproduction Repository https://github.com/Marcarrian/angular-15-eslint-issue
Versions
@angular-eslint/eslint-plugin
15.1.0
@typescript-eslint/parser
5.44.0
ESLint
8.28.0
node
16.16.0
# Please run `npx ng version` in your project and paste the full output here: Angular CLI: 15.0.1 Node: 16.16.0 Package Manager: npm 8.11.0 OS: win32 x64 Angular: 15.0.1 ... animations, cli, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router Package Version --------------------------------------------------------- @angular-devkit/architect 0.1500.1 @angular-devkit/build-angular 15.0.1 @angular-devkit/core 15.0.1 @angular-devkit/schematics 15.0.1 @schematics/angular 15.0.1 rxjs 7.5.7 typescript 4.8.4
ng version
output per the instructions given here.The text was updated successfully, but these errors were encountered: