fix(eslint): set `curly` rule as `all` (#365)

* fix(eslint): set `curly` rule as `all`

* changeset
pull/366/head
Yusuke Wada 2024-01-29 21:44:33 +09:00 committed by GitHub
parent 9b9cebe6d3
commit 716bd4d0a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/eslint-config': patch
---
fix: set `curly` rule as `all`

View File

@ -21,6 +21,7 @@ module.exports = defineConfig({
addEventListener: false,
},
rules: {
curly: ['error', 'all'],
quotes: ['error', 'single'],
semi: ['error', 'never'],
'no-debugger': ['error'],