Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
antoKeinanen committed Mar 9, 2024
1 parent 0228771 commit a0cb7c9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
],
"no-restricted-syntax": "off",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off"
"react/prop-types": "off",
"react/react-in-jsx-scope": "off"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"tauri": "tauri",
"lint": "eslint --ext .ts,.tsx,.js,.jsx src",
"lint": "tsc --noEmit && eslint --ext .ts,.tsx,.js,.jsx src",
"format": "prettier --write src"
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { DockviewReact, DockviewReadyEvent } from "dockview";
import PluginManager from "./lib/PluginManager";
import CasPlugin from "./plugins/cas/CasPlugin";
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/cas/CasPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { EditableMathField, StaticMathField, addStyles } from "react-mathquill";
import { ComputeEngine } from "@cortex-js/compute-engine";
import { EqualIcon } from "lucide-react";
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/cas/CasPlugin.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { ReactNode } from "react";
import { PluginManager } from "src/lib/PluginManager";
import { ReactNode } from "react";
import PluginManager from "src/lib/PluginManager";
import Plugin from "src/types/Plugin";
import { type DbValue } from "src/types/Db";
import CasPanel from "./CasPanel";
Expand Down
2 changes: 1 addition & 1 deletion src/types/Plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PluginManager } from "src/lib/PluginManager";
import PluginManager from "src/lib/PluginManager";

export default abstract class Plugin {
pluginManager: PluginManager;
Expand Down

0 comments on commit a0cb7c9

Please sign in to comment.