Skip to content

Commit cdf9ebc

Browse files
feat: remove unused exports, functions and files (#1750)
1 parent d40aea0 commit cdf9ebc

File tree

65 files changed

+67
-791
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+67
-791
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"lint:styles": "stylelint 'src/**/*.{css,scss}'",
7070
"lint:other": "npm run prettier -- --check",
7171
"prettier": "prettier '**/*.{json,yaml,yml,md}'",
72-
"unimported": "npx unimported --no-cache",
72+
"unused": "npx knip --include dependencies,files,exports,types",
7373
"package": "rm -rf dist && tsc -p tsconfig.package.json && copyfiles -u 1 'src/**/*.{css,scss,svg}' dist",
7474
"test": "react-app-rewired test",
7575
"eject": "react-scripts eject",

src/components/Graph/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function Graph<T>(props: GraphProps<T>) {
3838
return <div id={containerId} ref={containerRef} style={{overflow: 'auto'}} />;
3939
}
4040

41-
export const renderExplainNode = (node: GraphNode): string => {
41+
const renderExplainNode = (node: GraphNode): string => {
4242
const parts = node.name.split('|');
4343
return parts.length > 1 ? parts[1] : node.name;
4444
};

src/components/GroupInfo/GroupInfo.tsx

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/components/GroupInfo/i18n/en.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/components/GroupInfo/i18n/index.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/components/QuerySettingsDescription/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/Tablet/Tablet.scss

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/components/Tablet/Tablet.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/components/Tablet/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/TabletsOverall/TabletsOverall.scss

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)