eslint-config-sashapop10

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i eslint-config-sashapop10

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

7.26 kB

Total Files

14

Last publish

Collaborators

  • sashapop10