mirror of
https://github.com/srpernax/obsidian-easyfilereplace.git
synced 2026-07-22 08:37:47 +00:00
28 lines
7.3 KiB
Text
28 lines
7.3 KiB
Text
|
|
C:\uct\Dev Vault\.obsidian\plugins\easyfilereplace\src\files\file-managment.ts
|
|
42:17 warning Use 'createEl('input')' instead of 'document.createElement('input')' obsidianmd/prefer-create-el
|
|
44:3 error Avoid setting styles directly via `element.style.display`. Use CSS classes for better theming and maintainability. Use the `setCssProps` function if the CSS properties need to change dynamically obsidianmd/no-static-styles-assignment
|
|
66:5 error Expected the Promise rejection reason to be an Error @typescript-eslint/prefer-promise-reject-errors
|
|
73:3 warning Use 'window.setTimeout()' instead of 'setTimeout()' for popout window compatibility obsidianmd/prefer-window-timers
|
|
|
|
C:\uct\Dev Vault\.obsidian\plugins\easyfilereplace\src\locales\translator.ts
|
|
5:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
5:20 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
5:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
5:36 error Unsafe member access .moment on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
10:26 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
|
|
C:\uct\Dev Vault\.obsidian\plugins\easyfilereplace\src\main.ts
|
|
1:10 warning 'App' is defined but never used @typescript-eslint/no-unused-vars
|
|
1:30 warning 'Notice' is defined but never used @typescript-eslint/no-unused-vars
|
|
1:44 warning 'Modal' is defined but never used @typescript-eslint/no-unused-vars
|
|
1:51 warning 'Setting' is defined but never used @typescript-eslint/no-unused-vars
|
|
33:7 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
|
|
C:\uct\Dev Vault\.obsidian\plugins\easyfilereplace\src\settings.ts
|
|
9:14 warning This PluginSettingTab does not implement getSettingDefinitions(); its settings will not appear in Obsidian's settings search for users on 1.13.0 or later. Consider adopting the declarative settings API obsidianmd/settings-tab/prefer-setting-definitions
|
|
11:13 error Expected a `const` assertion instead of a literal type annotation @typescript-eslint/prefer-as-const
|
|
|
|
Ô£û 16 problems (8 errors, 8 warnings)
|
|
1 error and 3 warnings potentially fixable with the `--fix` option.
|
|
|