2.0.1 • Published 5 years ago

eslint-config-dwt v2.0.1

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

eslint-config-dwt

DWT lint config that extends Standard.

Installation

yarn

yarn add eslint-config-dwt --dev

npm

npm install --save-dev eslint-config-dwt

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the configuration in an empty project, first install it:

yarn add eslint eslint-config-dwt --dev
# or...
npm install --save-dev eslint eslint-config-dwt

Then, add this to your .eslintrc config

{
  "extends": "dwt"
}

Lastly, to ease the use of eslint, add this to the scripts section of your package.json

"lint": "eslint '**/*.js' --ignore-path .gitignore"