@andwin/eslint-config

0.0.16 • Public • Published

My eslint config

Installataion

Install the package as a development dependency

npm i @andwin/eslint-config -D

Create a .eslintrc file with the following content

{
  "extends": "@andwin/eslint-config"
}

Add a test config to your package.json

"scripts": {
  "test" : "eslint ."
},

You can have multiple tests like this

"scripts": {
  "test" : "eslint . && jest"
},

Run the tests like this npm test

Updating to the latest version of this package

npm i @andwin/eslint-config@latest -D

Update eslint dependencies in this package

npx install-peerdeps eslint-config-airbnb

Readme

Keywords

none

Package Sidebar

Install

npm i @andwin/eslint-config

Weekly Downloads

13

Version

0.0.16

License

ISC

Unpacked Size

5.62 kB

Total Files

5

Last publish

Collaborators

  • andwin