1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Tools: Implement @typescript-eslint/no-explicit-any rule

This commit is contained in:
Laurent Cozic
2024-04-05 12:16:49 +01:00
parent 42900bcc66
commit 2e2a2b3193
654 changed files with 2971 additions and 170 deletions

View File

@ -5,6 +5,7 @@ describe('validatePluginPlatforms', () => {
[['mobile', 'desktop'], true],
['not-an-array', false],
[[3, 4, 5], false],
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
])('should throw when given an invalid list of supported plugin platforms (case %#)', (platforms: any, shouldSupport) => {
const callback = () => validatePluginPlatforms(platforms);
if (shouldSupport) {