https://github.com/helpwave/eslint-config
https://github.com/helpwave/eslint-config
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/helpwave/eslint-config
- Owner: helpwave
- License: mpl-2.0
- Created: 2025-05-12T15:56:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-20T21:05:47.000Z (about 1 year ago)
- Last Synced: 2026-02-05T19:26:37.043Z (4 months ago)
- Language: JavaScript
- Size: 175 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## helpwave eslint config
This is our recommended set for linting. It is created for **eslint version 9** using the `eslint.config.js` config format.
### Configs Format
**recommended**: This is our default config for react (jsx or tsx) projects.
**nextExtension**: This config extends the recommendations with additional configs for Next.js.
```
{
recommended: [
{
plugins: { [key: string]: plugin },
rules: { string: string }
}
]
nextExtension: [
{
plugins: { [key: string]: plugin },
rules: { string: string }
}
]
}
```
### Usage
**Simple**
```javascript
// eslint.config.js file
import configs from '@helpwave/eslint-config'
export default configs.recommended // or configs.nextExtension
```
**Extendable**
```javascript
// eslint.config.js file
import configs from '@helpwave/eslint-config'
export default [
// Your other configs here
...configs.recommended, // or configs.nextExtension
{
// Your plugins or rule overwrites
plugins: {
},
rules: {
}
}
]
```