Skip to content

Commit

Permalink
run lint as part of the tests script
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Nov 27, 2024
1 parent 7239484 commit a99d03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jest:watch": "npm t -- --watch",
"jest:clear": "jest --clearCache",
"// tests": "is called by .github/workflows/test.yml",
"tests": "run-s test test:memory",
"tests": "run-s lint test test:memory",
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js",
"// test:memory:todo": "set up valgrind or similar",
"test:memory": "cross-env TEST_MEMORY=1 node --expose-gc --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js src/__tests__/memory.test.ts",
Expand All @@ -58,7 +58,7 @@
"fmt:pkg": "npm pkg fix",
"fmt:ts": "prettier --write \"src/**/*.ts\"",
"// precommit": "is called manually before committing",
"precommit": "run-s clean fmt lint prebuild tsc tests",
"precommit": "run-s clean fmt prebuild tsc tests",
"// release": "is called by .github/workflows/release.yml and should only be run via GitHub Actions",
"prerelease": "tsc",
"release": "release-it"
Expand Down

0 comments on commit a99d03d

Please sign in to comment.