1.0.0 • Published 10 months ago

eslint-config-sashapop10 v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

1. Install required packages:

npm i -D eslint prettier eslint-plugin-import eslint-config-sashapop10 eslint-config-prettier eslint-plugin-prettier

2. Add "extends": ["sashapop10"] to your .eslintrc.

3. (optional) Add following scripts

// package.json
{
  "scripts": {
    "lint": "eslint . && prettier --check \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"",
    "fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"",
    "test": "npm run -s lint"
    //...
  }
  //...
}