chore: add 'no-empty-function': 'error' to eslint.config.mjs (#17656)

This commit is contained in:
yusheng chen 2025-04-09 12:10:17 +08:00 • committed by GitHub
commit f633d1ee92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 32 additions and 34 deletions

View file

@ -117,6 +117,9 @@ export default combine(
// antfu migrate to eslint-plugin-unused-imports
'unused-imports/no-unused-vars': 'warn',
'unused-imports/no-unused-imports': 'warn',
// We use `import { noop } from 'lodash-es'` across `web` project
'no-empty-function': 'error',
},
languageOptions: {