mirror of https://github.com/go-gitea/gitea.git
Browse Source
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).pull/31173/merge
29 changed files with 1493 additions and 1453 deletions
@ -1,4 +1,29 @@
@@ -1,4 +1,29 @@
|
||||
declare module '@techknowlogick/license-checker-webpack-plugin' { |
||||
const plugin: any; |
||||
export = plugin |
||||
export = plugin; |
||||
} |
||||
declare module 'eslint-plugin-no-use-extend-native' { |
||||
import type {Eslint} from 'eslint'; |
||||
const plugin: Eslint.Plugin; |
||||
export = plugin; |
||||
} |
||||
declare module 'eslint-plugin-array-func' { |
||||
import type {Eslint} from 'eslint'; |
||||
const plugin: Eslint.Plugin; |
||||
export = plugin; |
||||
} |
||||
declare module 'eslint-plugin-github' { |
||||
import type {Eslint} from 'eslint'; |
||||
const plugin: Eslint.Plugin; |
||||
export = plugin; |
||||
} |
||||
declare module 'eslint-plugin-no-jquery' { |
||||
import type {Eslint} from 'eslint'; |
||||
const plugin: Eslint.Plugin; |
||||
export = plugin; |
||||
} |
||||
declare module '@eslint-community/eslint-plugin-eslint-comments' { |
||||
import type {Eslint} from 'eslint'; |
||||
const plugin: Eslint.Plugin; |
||||
export = plugin; |
||||
} |
||||
|
||||
Loading…
Reference in new issue