developmentseed / devseed-standard

1 stars 1 forks source link

devseed-standard

Need to change config rules? See eslint-config-devseed-standard

Install

npm i -D devseed-standard

ESlint config file

Create a .eslintrc file:

{
  "extends": ["devseed-standard"]
}

Cli Usage

Add an npm script:

"scripts": {
  "lint": "devseed-standard"
},

Run the script:

npm run lint

Ignoring files

In the project's package.json file:

"devseed-standard": {
  "ignore": [
    "**/whatever/files/"
  ]
}