Skip to content

emberobserver/eslint-plugin-ember-observer

Repository files navigation

eslint-plugin-ember-observer

Eslint rules used for static analysis for emberobserver.com, so you probably don't want to enable these in your own project!

Installation

npm install eslint-plugin-ember-observer --save-dev

Usage

Add 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
    }
}

Rules

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

About

eslint rules specifically used for emberobserver.com

Resources

Stars

Watchers

Forks

Packages

No packages published