1.0.0 • Published 3 years ago

@vtex/eslint-plugin-app-store v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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

1.0.0

3 years ago