Skip to content

Commit

Permalink
Add publint and arethetypeswrong as linters
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Jan 17, 2025
1 parent c6f14a9 commit 5da8da9
Show file tree
Hide file tree
Showing 2 changed files with 288 additions and 4 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
},
"homepage": "/~https://github.com/tus/tus-js-client",
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@biomejs/biome": "^1.7.3",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
Expand All @@ -90,6 +91,7 @@
"karma-chrome-launcher": "^3.1.1",
"karma-jasmine": "^5.1.0",
"npm-run-all": "^4.1.5",
"publint": "^0.3.2",
"puppeteer": "^22.3.0",
"rollup": "^4.30.1",
"temp": "^0.9.4",
Expand Down Expand Up @@ -124,7 +126,10 @@
"test-puppeteer": "karma start test/karma/puppeteer.conf.cjs",
"test-browserstack": "karma start test/karma/browserstack.conf.cjs",
"test-node": "jasmine test/spec/node-index.js",
"lint": "biome check .",
"lint-code": "biome check .",
"lint-package": "publint --pack npm",
"lint-type-exports": "attw --pack .",
"lint": "npm-run-all lint-*",
"fix": "biome check --write ."
}
}
Loading

0 comments on commit 5da8da9

Please sign in to comment.