Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angablue/eslint-config
A comprehensive Eslint configuation package for JavaScript & TypeScript projects, with support for React.
https://github.com/angablue/eslint-config
eslint eslint-config react typescript
Last synced: 15 days ago
JSON representation
A comprehensive Eslint configuation package for JavaScript & TypeScript projects, with support for React.
- Host: GitHub
- URL: https://github.com/angablue/eslint-config
- Owner: AngaBlue
- License: lgpl-3.0
- Created: 2021-10-21T13:27:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T13:25:03.000Z (6 months ago)
- Last Synced: 2024-12-14T15:39:45.308Z (about 2 months ago)
- Topics: eslint, eslint-config, react, typescript
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@angablue/eslint-config
- Size: 195 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AngaBlue Eslint Config 🧑🏻💻
A comprehensive Eslint configuation package for JavaScript & TypeScript projects, with support for React.
### 🏠 [Homepage](https://github.com/AngaBlue/eslint-config#readme)
## Install
Install this package and it's peer dependencies with your package manager of choice.
```sh
npm i -D @angablue/eslint-config eslint prettier
```or
```sh
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:```js
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.
```json
"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 **
* Website: https://anga.blue
* Github: [@AngaBlue](https://github.com/AngaBlue)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/AngaBlue/eslint-config/issues). You can also take a look at the [contributing guide]( ).## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2021 [AngaBlue ](https://github.com/AngaBlue).
This project is [LGPL--3.0--or--later](https://github.com/AngaBlue/eslint/blob/master/LICENSE) licensed.