0.0.4 • Published 5 years ago
@movidesk/eslint-config-movidesk-base v0.0.4
Table of Contents
This package provides Movidesk's .eslintrc for JS libs as an extensible shared config.
Getting start
Install
yarn add -D @movidesk/eslint-config-movidesk-base eslint babel-eslint eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
Install peer dependencies
Install the correct versions of each package required, which are listed by the command:
yarn info "@movidesk/eslint-config-movidesk-base@latest" peerDependencies
You can use this shortcut in NPM+5 to install all peer deps:
npx install-peerdeps --dev @movidesk/eslint-config-movidesk-base
Usage
In your project, create a file .eslintrc.json
and extends this project:
{
"extends": "@movidesk/eslint-config-movidesk-base"
}
Running local lint
Just run:
npm run lint
Running local test
Just run:
npm run test