eslint-plugin-app-store

1.0.1 • Public • Published

eslint-plugin-app-store

ESlint plugin for apps in VTEX store.

Installation

You'll first need to install ESLint:

yarn add -D eslint

Next, install @vtex/eslint-plugin-app-store:

$ yarn add -D @vtex/eslint-plugin-app-store

Usage

Recommended

For a quick configuration, extend our recommended configuration on your .eslintrc file:

{
  "extends": ["plugin:app-store/recommended"]
}

Custom

If you want to customize the rules, add app-store to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "app-store"
    ]
}

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

{
    "rules": {
        "app-store/rule-name": 2
    }
}

Supported Rules

messages-prefix

no-deprecated-vtex-builders

Package Sidebar

Install

npm i eslint-plugin-app-store

Weekly Downloads

6

Version

1.0.1

License

MIT

Unpacked Size

13.7 kB

Total Files

14

Last publish

Collaborators

  • thayannevls
  • jmgris