Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: ESLint
run: yarn lint

- name: Typecheck baseline
run: yarn typecheck:baseline
- name: Typecheck
run: yarn typecheck

- name: Page render test
run: yarn react-test
5 changes: 4 additions & 1 deletion e2e/helpers/newick.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ function edges(root) {
const first = getTaxa(root)[0];
/** @type {Map<string, number | null>} */
const out = new Map();
/** @param {Node} node */
/**
* @param {Node} node
* @param {boolean} isRoot
*/
const walk = (node, isRoot) => {
const leaves = leafNames(node).sort();
if (!isRoot) {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"postinstall": "run-s postinstall-deps postinstall-patch postinstall-electron",
"docs-serve": "cd docs && bundle exec jekyll serve --config _config.yml,_config_dev.yml",
"typecheck": "tsc --noEmit",
"typecheck:baseline": "node scripts/typecheck-baseline.js",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" electron.vite.config.js vitest.config.mjs --max-warnings 0",
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" electron.vite.config.js vitest.config.mjs --fix"
},
Expand Down
155 changes: 0 additions & 155 deletions scripts/typecheck-baseline.js

This file was deleted.

Empty file removed scripts/typecheck-baseline.txt
Empty file.
82 changes: 0 additions & 82 deletions src/typecheckBaseline.test.ts

This file was deleted.

1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": false,
"noImplicitAny": true,
"skipLibCheck": true
},
"include": ["src", "e2e/helpers/**/*.test.ts"]
Expand Down
Loading