0.0.4 • Published 5 years ago

@movidesk/eslint-config-movidesk-base v0.0.4

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

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
0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago