mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-18 15:38:56 +02:00
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).
30 lines
806 B
TypeScript
30 lines
806 B
TypeScript
declare module '@techknowlogick/license-checker-webpack-plugin' {
|
|
const plugin: any;
|
|
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;
|
|
}
|