mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-19 18:58:40 +00:00
Update eslint to v9 (#35485)
Update eslint and all plugins. Many plugins still do not ship type definitions so I had to add stubs. Also, I had to put a few typescript error expectations because if some unknown error in the types. `eslint-plugin-no-jquery` is disabled because it's not compatible with eslint 9 flat config (https://github.com/wikimedia/eslint-plugin-no-jquery/issues/311).
This commit is contained in:
@@ -5,12 +5,6 @@ export default {
|
||||
'@mcaptcha/vanilla-glue', // breaking changes in rc versions need to be handled
|
||||
'@stylistic/eslint-plugin-js', // need to migrate to eslint 9
|
||||
'cropperjs', // need to migrate to v2 but v2 is not compatible with v1
|
||||
'eslint', // need to migrate to eslint flat config first
|
||||
'eslint-plugin-array-func', // need to migrate to eslint flat config first
|
||||
'eslint-plugin-github', // need to migrate to eslint 9 - https://github.com/github/eslint-plugin-github/issues/585
|
||||
'eslint-plugin-no-use-extend-native', // need to migrate to eslint flat config first
|
||||
'eslint-plugin-unicorn', // need to migrate to eslint 9
|
||||
'eslint-plugin-vitest', // need to migrate to eslint flat config first
|
||||
'tailwindcss', // need to migrate
|
||||
],
|
||||
} satisfies Config;
|
||||
|
||||
Reference in New Issue
Block a user