Skip to content

Commit

Permalink
Lint, analysis tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsilvestre committed Nov 25, 2024
1 parent 011a964 commit fc0e523
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm test run

npx lint-staged
npx lint-staged
3 changes: 2 additions & 1 deletion app/lib/dic/kanjijumpForcedAtomicFigures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,6 @@ export const kanjijumpForcedAtomicFigures = new Set<string>([
"乇",
"了",
"毛",
"𢆉"
"𢆉",
"屯"
])
4 changes: 0 additions & 4 deletions app/routes/browse.compound-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ function CompoundComponentsPageContent({
nonCharacterCompoundComponents.matchedFiguresCount +
totalCompoundComponentCharacters;

const totalCompoundNonCharacterVariantComponents =
compoundComponentCharacterVariants.matchedFiguresCount +
nonCharacterCompoundComponents.matchedFiguresCount;

const popover = useManyFiguresPopover();

const content = (
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 \"npx cypress run\"",
"typecheck": "tsc && tsc -p cypress",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run",
"prisma": "prisma"
"prisma": "prisma",
"prepare": "husky"
},
"eslintIgnore": [
"/node_modules",
Expand Down Expand Up @@ -102,7 +103,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.1.0",
"happy-dom": "^12.9.1",
"husky": "^8.0.3",
"husky": "^9.1.7",
"lint-staged": "^15.0.2",
"msw": "^1.3.2",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit fc0e523

Please sign in to comment.