eslint-plugin-ember-addons
v0.1.1
Published
Several rules for ember-addons
Downloads
5
Maintainers
Readme
eslint-plugin-ember-addons
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 |