- Create a test repo with vite starter (
npm create vite@latest -- --template react-ts
) or similar as a sibling directory. - Run
npm run build
to compile ts in this directory. - In the test repo directory, init git and commit.
- To test lintier, run
node ../lintier/bin/index.js
to execute, then runnpm run lint
in the test directory. - Roll back your changes with git to reset the test dir.