-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #913 from 3YOURMIND/use-knip
dx(knip): Use knip instead of unimported
- Loading branch information
Showing
27 changed files
with
481 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.turbo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"ignore": ["**/dist/**"], | ||
"ignoreBinaries": [], | ||
"ignoreDependencies": ["lerna", "lint-staged"], | ||
"workspaces": { | ||
"packages/*": { | ||
"entry": ["source/index.ts"], | ||
"project": ["source/**/*.{js,ts,vue}"] | ||
}, | ||
"packages/documentation": { | ||
"entry": [ | ||
"pages/**/*.vue", | ||
"layouts/**/*.vue", | ||
"plugins/**/*.js", | ||
"nuxt.config.ts" | ||
], | ||
"ignoreDependencies": [ | ||
"@nuxt/typescript-build", | ||
"@nuxtjs/markdownit-loader", | ||
"@nuxtjs/markdownit", | ||
"@nuxtjs/style-resources", | ||
"sass-loader", | ||
"ts-loader", | ||
"vue-server-renderer", | ||
"vue-template-compiler" | ||
], | ||
"project": ["**/*.{js,ts,vue}"] | ||
}, | ||
"packages/kotti-ui": { | ||
"entry": ["source/index.ts", "tokens/index.js"], | ||
"ignoreDependencies": ["core-js", "normalize.css", "vue-tsc"], | ||
"project": ["source/**/*.{js,ts,vue}"] | ||
}, | ||
"packages/yoco": { | ||
"entry": ["source/index.ts", "source/generate.ts"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "fake-root", | ||
"private": true, | ||
"scripts": { | ||
"check:eslint": "yarn --cwd ../.. run eslint --max-warnings=0 --ignore-pattern=packages .", | ||
"check:knip": "yarn --cwd ../.. run knip", | ||
"check:prettier": "yarn --cwd ../.. run prettier --check --ignore-path=.fake-prettierignore --ignore-path=.prettierignore .", | ||
"fix:eslint": "yarn run check:eslint --fix", | ||
"fix:prettier": "yarn run check:prettier --write" | ||
}, | ||
"version": "0.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Fake Root | ||
|
||
This package exists in order to lint the repo root with the same turborepo workflows we can use for ordinary packages. | ||
|
||
See https://turbo.build/messages/missing-root-task-in-turbo-json for context as to why this causes an infinite loop without this “root” package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"extends": ["//"], | ||
"pipeline": { | ||
"check:eslint": { | ||
"inputs": [ | ||
"../../*.{cjs,js,mjs,json,mjs,mts,ts}", | ||
"../../.github/**/*", | ||
"../../.vscode/**/*", | ||
"../../eslint.config.mjs" | ||
] | ||
}, | ||
"check:knip": { | ||
"inputs": [ | ||
"../../knip.json", | ||
"../../packages/*/scripts/**/*", | ||
"../../packages/*/source/**/*" | ||
] | ||
}, | ||
"check:prettier": { | ||
"inputs": [ | ||
"../../.fake-prettierignore", | ||
"../../.prettierignore", | ||
"../../*.{cjs,js,mjs,json,mjs,mts,ts}", | ||
"../../.github/**/*", | ||
"../../.vscode/**/*" | ||
] | ||
}, | ||
"fix:eslint": { | ||
"inputs": [ | ||
"../../*.{cjs,js,mjs,json,mjs,mts,ts}", | ||
"../../.github/**/*", | ||
"../../.vscode/**/*" | ||
] | ||
}, | ||
"fix:prettier": { | ||
"inputs": [ | ||
"../../.fake-prettierignore", | ||
"../../.prettierignore", | ||
"../../*.{cjs,js,mjs,json,mjs,mts,ts}", | ||
"../../.github/**/*", | ||
"../../.vscode/**/*" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
declare const TableColumnsStateMixin: any | ||
declare const tableInjectedMixin: any | ||
export { TableColumnsStateMixin, tableInjectedMixin } | ||
export { TableColumnsStateMixin } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.