Skip to content

Commit 4ab715a

Browse files
authored
[eslint-plugin] update stub typings to use modern syntax (#36747)
and remove typings for dependencies that we removed already.
1 parent d4c2c9d commit 4ab715a

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

common/tools/eslint-plugin-azure-sdk/src/typings/eslint-plugin-import.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

common/tools/eslint-plugin-azure-sdk/src/typings/eslint-plugin-markdown.d.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declare module 'eslint-plugin-no-only-tests' {
22
import type { FixupPluginDefinition } from '@eslint/compat';
33

4-
declare const exprt: FixupPluginDefinition;
5-
export = exprt;
4+
const exprt: FixupPluginDefinition;
5+
export default exprt;
66
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
declare module 'eslint-plugin-promise' {
22
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
33

4-
declare const exprt: {
4+
const exprt: {
55
meta: FlatConfig.PluginMeta,
66
plugin: FlatConfig.Plugin,
77
configs: {
88
"flat/recommended": FlatConfig.Config;
99
};
1010
};
11-
export = exprt;
11+
export default exprt;
1212
}

0 commit comments

Comments
 (0)