Eslint rules used for static analysis for emberobserver.com, so you probably don't want to enable these in your own project!
npm install eslint-plugin-ember-observer --save-devAdd ember-observer to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"ember-observer"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"ember-observer/rule-name": 2
}
}| Name | Description |
|---|---|
| has-maybe-embroider | Require maybeEmbroider function imported and called in ember-cli-build.js |
| no-ember-components | indicate the usage of Ember Components |
| no-glimmer-components | indicates use of glimmer components |
| no-jquery-integration | disallow any usage of jQuery integration |
| no-tracked | indicate the use of @tracked |