eslint-config-dwt

2.0.1 • Public • Published

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"

Package Sidebar

Install

npm i eslint-config-dwt

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

6.44 kB

Total Files

5

Last publish

Collaborators

  • maffeis
  • tobyryuk