eslint-plugin-empye

0.0.3 • Public • Published

eslint-plugin-empye

ESLint rules for Vue Storefront

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-empye:

$ npm install eslint-plugin-empye --save-dev

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

Usage

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

{
    "plugins": [
        "empye"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "empye/no-corecomponent-import": "error",
        "empye/no-corecomponent": "error",
        "empye/no-corepage-import": "error",
        "empye/no-corepage": "error"
    }
}

Supported Rules

  • no-corecomponent-import
  • no-corecomponent
  • no-corepage-import
  • no-corepage

Package Sidebar

Install

npm i eslint-plugin-empye

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

16.4 kB

Total Files

17

Last publish

Collaborators

  • empye-ui