mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Enable ESLint no-empty-object-type rule (#4354)
# Description of Changes Enable ESLint [no-empty-object-type rule](https://typescript-eslint.io/rules/no-empty-object-type/)
This commit is contained in:
parent
d558bb5fac
commit
5caec41d96
@ -16,7 +16,13 @@ export default defineConfig(
|
|||||||
{
|
{
|
||||||
rules: {
|
rules: {
|
||||||
"no-undef": "off", // Temporarily disabled until codebase conformant
|
"no-undef": "off", // Temporarily disabled until codebase conformant
|
||||||
"@typescript-eslint/no-empty-object-type": "off", // Temporarily disabled until codebase conformant
|
"@typescript-eslint/no-empty-object-type": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
// Allow empty extending interfaces because there's no real reason not to, and it makes it obvious where to put extra attributes in the future
|
||||||
|
allowInterfaces: 'with-single-extends',
|
||||||
|
},
|
||||||
|
],
|
||||||
"@typescript-eslint/no-explicit-any": "off", // Temporarily disabled until codebase conformant
|
"@typescript-eslint/no-explicit-any": "off", // Temporarily disabled until codebase conformant
|
||||||
"@typescript-eslint/no-require-imports": "off", // Temporarily disabled until codebase conformant
|
"@typescript-eslint/no-require-imports": "off", // Temporarily disabled until codebase conformant
|
||||||
"@typescript-eslint/no-unused-vars": "off", // Temporarily disabled until codebase conformant
|
"@typescript-eslint/no-unused-vars": "off", // Temporarily disabled until codebase conformant
|
||||||
|
@ -3,8 +3,6 @@ import { Stack, Text, Divider, Card, Group } from '@mantine/core';
|
|||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { useSuggestedTools } from '../../../hooks/useSuggestedTools';
|
import { useSuggestedTools } from '../../../hooks/useSuggestedTools';
|
||||||
|
|
||||||
export interface SuggestedToolsSectionProps {}
|
|
||||||
|
|
||||||
export function SuggestedToolsSection(): React.ReactElement {
|
export function SuggestedToolsSection(): React.ReactElement {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const suggestedTools = useSuggestedTools();
|
const suggestedTools = useSuggestedTools();
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
// Base parameter interfaces for reusable patterns
|
// Base parameter interfaces for reusable patterns
|
||||||
|
|
||||||
export interface BaseParameters {
|
// Base interface that all tool parameters should extend
|
||||||
// Base interface that all tool parameters should extend
|
// Provides a foundation for adding common properties across all tools
|
||||||
// Provides a foundation for adding common properties across all tools
|
// Examples of future additions: userId, sessionId, commonFlags, etc.
|
||||||
// Examples of future additions: userId, sessionId, commonFlags, etc.
|
export type BaseParameters = object
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user