mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import type { Plugin } from '@/plugins/core/types';
|
import type { Plugin } from '@/plugins/core/types';
|
||||||
import { BasePlugin } from '@/plugins/core/settings';
|
import { BasePlugin } from '@/plugins/core/settings';
|
||||||
import { defineSettings, booleanSetting, Setting } from '@/plugins/core/settingsHelpers';
|
import { booleanSetting, defineSettings, Setting } from '@/plugins/core/settingsHelpers';
|
||||||
|
|
||||||
// Step 1: Define settings with proper typing
|
// Step 1: Define settings with proper typing
|
||||||
const settings = defineSettings({
|
const settings = defineSettings({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { Plugin, PluginSettings, BooleanSetting, StringSetting, NumberSetting, SelectSetting } from './types';
|
import type { BooleanSetting, NumberSetting, Plugin, PluginSettings, SelectSetting, StringSetting } from './types';
|
||||||
import { createPluginAPI } from './createAPI';
|
import { createPluginAPI } from './createAPI';
|
||||||
import browser from 'webextension-polyfill';
|
import browser from 'webextension-polyfill';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { NumberSetting, BooleanSetting, StringSetting, SelectSetting } from './types';
|
import type { BooleanSetting, NumberSetting, SelectSetting, StringSetting } from './types';
|
||||||
|
|
||||||
export function numberSetting(options: Omit<NumberSetting, 'type'>): NumberSetting {
|
export function numberSetting(options: Omit<NumberSetting, 'type'>): NumberSetting {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user