0.1.5 • Published 6 months ago
@wondergrove/eslint-config v0.1.5
eslint-config
!IMPORTANT this config uses the new eslint flat config, and you currently need to add extra settings to use in vscode. See the vscode support section.
features
- 4 space indent, double quotes, no semicolons, dangling commas
- auto-fix formatting without additional dependencies (like prettier)
- only warnings, no errors
- works out of the box with
typescript
,preact
/react
,astro
- respects
.gitignore
automatically
plugins
- @eslint/js
- @stylistic/eslint-plugin
- @typescript-eslint/eslint-plugin
- @unocss/eslint-plugin
- eslint-plugin-astro
- eslint-plugin-eslint-comments
- eslint-plugin-i
- eslint-plugin-jsx-a11y
- eslint-plugin-only-warn
- eslint-plugin-react - adjusted for preact
- eslint-plugin-react-hooks
- eslint-plugin-sonarjs
- eslint-plugin-unicorn
vscode support
copy the settings.json from this repository into the .vscode/settings.json
file in your project