0.0.4 • Published 6 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-nodeInstall peer dependencies
Install the correct versions of each package required, which are listed by the command:
yarn info "@movidesk/eslint-config-movidesk-base@latest" peerDependenciesYou can use this shortcut in NPM+5 to install all peer deps:
npx install-peerdeps --dev @movidesk/eslint-config-movidesk-baseUsage
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 lintRunning local test
Just run:
npm run test