npm.io
1.0.0 • Published 3 years ago

eslint-config-sashapop10

Licence
MIT
Version
1.0.0
Deps
0
Size
7 kB
Vulns
0
Weekly
0
Stars
1

My ESlint config

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"
    //...
  }
  //...
}

Copyright & contributors

Copyright 2023 sashapop10. eslint-config-sashapop10 is MIT licensed license.

Keywords