feature(eslint-config): add types (#1162)

fixes #1157
pull/1166/head
Jonathan Haines 2025-05-15 23:55:48 +10:00 committed by GitHub
parent d29f2cbdc6
commit 74d0fe0cb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/eslint-config': patch
---
Add type declaration

View File

@ -4,6 +4,9 @@ import importX from 'eslint-plugin-import-x'
import nodePlugin from 'eslint-plugin-n' import nodePlugin from 'eslint-plugin-n'
import tseslint from 'typescript-eslint' import tseslint from 'typescript-eslint'
/**
* @type {import("eslint").Linter.Config[]}
*/
export default [ export default [
js.configs.recommended, js.configs.recommended,
nodePlugin.configs['flat/recommended'], nodePlugin.configs['flat/recommended'],