I would like to turn the rule @angular-eslint/no-host-metadata-property into a warning instead of an error but I can't figure out how to configure it.
This is what the error message looks like:
Use @HostBinding or @HostListener rather than the
hostmetadata property (https://angular.io/styleguide#style-06-03) @angular-eslint/no-host-metadata-property
This is what I have tried in the eslintrc.json file at the root level:
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"overrides": [
{
"files": ["*.ts"],
"rules": {
....
"@angular-eslint/no-host-metadata-property": "warn",
}
"plugins": ["@angular-eslint/eslint-plugin", "eslint-plugin-import", "@typescript-eslint"]
}
}
This is for an Angular 12 project. I ran the nx migration command to convert linting rules from tslint to eslint. How can I override that rule?