Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 2.19 KB

README.md

File metadata and controls

68 lines (48 loc) · 2.19 KB

AngaBlue Eslint Config 🧑🏻‍💻

Downloads Version License: LGPL--3.0--or--later

A comprehensive Eslint configuation package for JavaScript & TypeScript projects, with support for React.

Install

Install this package and it's peer dependencies with your package manager of choice.

npm i -D @angablue/eslint-config eslint prettier

or

yarn add -D @angablue/eslint-config eslint prettier

Usage

Then create the file .eslintrc.js in the root directory of your project with the contents:

module.exports = {
  extends: '@angablue',
};

You may also want to add a script to your package.json in order to quickly lint and fix problems with your code.

"scripts": {
    "lint": "eslint . --ext js,jsx,ts,tsx --fix"
}

Now you can, manually lint using the command npm run lint or yarn lint, while also receiving inline suggestions and warnings in your editor with the appropriate eslint extension installed.

Author

👤 AngaBlue contact@anga.blue

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 AngaBlue contact@anga.blue.
This project is LGPL--3.0--or--later licensed.