eslint-plugin-ember-addons

0.1.1 • Public • Published

eslint-plugin-ember-addons

Build Status npm version License Downloads

Several rules for ember-addons:

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ember-addons:

$ npm install eslint-plugin-ember-addons --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ember-addons globally.

Usage

Add ember-addons to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": [
    "ember-addons"
  ],
  "extends": [
    "eslint:recommended",
    "plugin:ember-addons/recommended"
  ]
}

Supported Rules

Rule Description
i18n-t-file-format Checks translations-json format
i18n-t-files-eq Checks that translation-jsons match default one
page-object-exports Check export for each page-object
page-object-match Check if page or component for page-object exists

Package Sidebar

Install

npm i eslint-plugin-ember-addons

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • onechiporenko