0.0.2 • Published 4 years ago
@kasaharu/eslint-plugin-ng v0.0.2
eslint-plugin-ng
The eslint-plugin-ng is an ESLint plugin to prevent Angular apps from using NO_ERRORS_SCHEMA.
Installation
Install ESLint locally.
$ yarn add eslint -DNext, install eslint-plugin-ng:
$ yarn add @kasaharu/eslint-plugin-ng -DUsage
Add eslint-plugin-ng to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["@kasaharu/ng"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"@kasaharu/ng/no-ng-no-errors-schema": "error"
}
}