Add Lint Rules #54
Annotations
10 errors and 10 warnings
build:
src/Classes/CustomElement.tsx#L38
Expected a function declaration
|
build:
src/Classes/CustomElement.tsx#L39
Expected a function declaration
|
build:
src/Classes/CustomElement.tsx#L59
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
build:
src/Classes/CustomElement.tsx#L72
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
build
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
build
Unsafe argument of type `any` assigned to a parameter of type `object | null`
|
build
Unsafe argument of type `any[]` assigned to a parameter of type `Tag[]`
|
build
Unsafe spread of an `any` value in an array
|
build
Unsafe member access [TAGS] on an `any` value
|
build
Type parameter T is used only once in the function signature
|
build:
src/Classes/ParameterSet.tsx#L18
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
build:
src/Classes/ParameterSet.tsx#L31
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
build:
src/Classes/ParameterSet.tsx#L41
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
build:
src/Classes/SwalReact.ts#L4
Assign call result to a variable before exporting as module default
|
build:
src/Components/SchemaEditor.tsx#L9
Using exported name 'Editor' as identifier for default export
|
build:
src/Components/TooltipChar.tsx#L50
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
build:
src/actions.ts#L5
Assign object to a variable before exporting as module default
|
build:
src/editor/libs.ts#L5
Assign object to a variable before exporting as module default
|
build:
src/options.tsx#L16
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
build:
src/utils.tsx#L41
Unexpected negated condition
|