-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c43980
commit 7bf9d9d
Showing
38 changed files
with
570 additions
and
2,479 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -17,6 +17,3 @@ updates: | |
mui: | ||
patterns: | ||
- '@mui/*' | ||
ts-eslint: | ||
patterns: | ||
- '@typescript-eslint/*' |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn run lint-staged |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
{ | ||
"recommendations": ["arcanis.vscode-zipfs", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"], | ||
"recommendations": ["arcanis.vscode-zipfs", "biomejs.biome"], | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,45 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"useIgnoreFile": true, | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"quoteStyle": "single", | ||
}, | ||
}, | ||
"linter": { | ||
"rules": { | ||
"complexity": { | ||
"useLiteralKeys": "off", // conflicts with tsconfig noPropertyAccessFromIndexSignature: https://github.com/biomejs/biome/issues/463 | ||
}, | ||
}, | ||
}, | ||
"overrides": [ | ||
{ | ||
"include": [".vscode/*.json", "tsconfig.json", "**/*.jsonc"], | ||
"json": { | ||
"formatter": { | ||
"trailingCommas": "all", | ||
}, | ||
"parser": { | ||
"allowComments": true, | ||
"allowTrailingCommas": true, | ||
}, | ||
}, | ||
}, | ||
{ | ||
"include": ["src/build-tools/rst.tsx", "src/build-tools/md.tsx"], | ||
"linter": { | ||
"rules": { | ||
"correctness": { | ||
"useJsxKeyInIterable": "off", // Static tree, no need for key | ||
}, | ||
}, | ||
}, | ||
}, | ||
], | ||
} |
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 |
---|---|---|
|
@@ -13,16 +13,13 @@ | |
"build": "tsc && vite build", | ||
"preview": "vite preview", | ||
"bundlesize": "tsc && vite-bundle-visualizer", | ||
"lint": "$npm_execpath run lint:format && $npm_execpath run lint:style && $npm_execpath run lint:deps", | ||
"lint:format": "prettier --write '**/*'", | ||
"lint:style": "eslint '{*.ts,src/**/*.ts*}'", | ||
"lint": "$npm_execpath run lint:check && $npm_execpath run lint:deps", | ||
"lint:check": "biome check --write .", | ||
"lint:deps": "depcheck --ignores=unfonts.css,@fontsource/iosevka,@fontsource/iosevka-aile,@yarnpkg/sdks,@tsconfig/strictest,@total-typescript/ts-reset", | ||
"deploy": "$npm_execpath run build && rsync --recursive --delete --archive --compress --progress dist/ [email protected]:/srv/http/phil.red", | ||
"postinstall": "husky install" | ||
"prepare": "husky" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"files": ["dist"], | ||
"dependencies": { | ||
"@emotion/react": "^11.11.4", | ||
"@emotion/styled": "^11.13.0", | ||
|
@@ -51,6 +48,7 @@ | |
"typed-jsx": "^0.1.1" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.8.3", | ||
"@total-typescript/ts-reset": "^0.5.1", | ||
"@tsconfig/strictest": "^2.0.5", | ||
"@types/estree": "^1.0.5", | ||
|
@@ -63,28 +61,15 @@ | |
"@types/react-dom": "^18.3.0", | ||
"@types/react-is": "^18.3.0", | ||
"@types/react-plotly.js": "^2.6.3", | ||
"@typescript-eslint/eslint-plugin": "^7.17.0", | ||
"@typescript-eslint/parser": "^7.17.0", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
"@yarnpkg/sdks": "^3.1.2", | ||
"depcheck": "^1.4.7", | ||
"eslint": "^8.57.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-config-flying-sheep": "^5.2.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsx-a11y": "^6.9.0", | ||
"eslint-plugin-no-foreach": "^1.0.0", | ||
"eslint-plugin-react": "^7.34.2", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
"eslint-plugin-react-prefer-function-component": "^3.3.0", | ||
"estree-walker": "^3.0.3", | ||
"globby": "^14.0.1", | ||
"husky": ">=9", | ||
"lint-staged": ">=15", | ||
"husky": ">=9.1.3", | ||
"lint-staged": ">=15.2.7", | ||
"magic-string": "^0.30.10", | ||
"markdown-it": "^14.1.0", | ||
"prettier": "^3.3.2", | ||
"react-json-tree": "^0.19.0", | ||
"restructured": "^0.0.11", | ||
"rollup": "^4.18.0", | ||
|
@@ -95,7 +80,6 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"lint-staged": { | ||
"!(rawPosts)": "prettier --write", | ||
"*.ts{,x}": "eslint --cache --fix" | ||
"!(rawPosts)": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --write" | ||
} | ||
} |
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
Oops, something went wrong.