A comprehensive Eslint configuation package for JavaScript & TypeScript projects, with support for React.
🏠 Homepage
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
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.
👤 AngaBlue contact@anga.blue
- Website: https://anga.blue
- Github: @AngaBlue
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2021 AngaBlue contact@anga.blue.
This project is LGPL--3.0--or--later licensed.