1.0.1 • Published 5 years ago
eslint-plugin-app-store v1.0.1
eslint-plugin-app-store
ESlint plugin for apps in VTEX store.
Installation
You'll first need to install ESLint:
yarn add -D eslintNext, install @vtex/eslint-plugin-app-store:
$ yarn add -D @vtex/eslint-plugin-app-storeUsage
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
}
}