Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casperiv0/eslint-config
My ESLint config. Feel free to use :)
https://github.com/casperiv0/eslint-config
eslint-config eslint-config-react npm-package
Last synced: 27 days ago
JSON representation
My ESLint config. Feel free to use :)
- Host: GitHub
- URL: https://github.com/casperiv0/eslint-config
- Owner: casperiv0
- License: mit
- Created: 2021-05-17T14:21:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T11:06:01.000Z (about 1 year ago)
- Last Synced: 2024-10-02T20:33:41.773Z (about 1 month ago)
- Topics: eslint-config, eslint-config-react, npm-package
- Language: JavaScript
- Homepage: https://npm.im/~casper124578
- Size: 3.26 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @casperiv/eslint-config
## Install
### Packages
- [`eslint-config`][config_url]: the base config
- [`eslint-config-react`][react_url]: the react config
- [`eslint-config-next`][nextjs_url]: the Next.js config#### eslint-config
```bash
npm install @casperiv/eslint-config
```#### eslint-config-react
```bash
npm install @casperiv/eslint-config @casperiv/eslint-config-react
```#### eslint-config-next
```bash
npm install @casperiv/eslint-config @casperiv/eslint-config-react @casperiv/eslint-config-next
```## Usage
Use `extends` in your ESLint config
```json
{
"extends": ["@casperiv/eslint-config"]
}
```### With react
```json
{
"extends": ["@casperiv/eslint-config", "@casperiv/eslint-config-react"]
}
```### With Next.js
```json
{
"extends": ["@casperiv/eslint-config", "@casperiv/eslint-config-react", "@casperiv/eslint-config-next"]
}
```## License
[Casper Iversen MIT](./LICENSE)
[config_url]: https://github.com/casperiv0/eslint-config/tree/main/packages/eslint-config
[react_url]: https://github.com/casperiv0/eslint-config/tree/main/packages/eslint-config-react
[nextjs_url]: https://github.com/casperiv0/eslint-config/tree/main/packages/eslint-config-next