LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/
This makes linting MUCH faster by doing a few things:
"main": "src/foo.ts"
instead of"main": "build/foo.js"
)--cache
to the call to ESLint which makes it MUCH faster on commit.The slow part of the linting is because of the
parser: '@typescript-eslint/parser'
bit of the.eslintrc.js
.That relies on Typescript to generate the import graph and... yeah, it's really slow.
There is a fork we could use here: https://github.com/un-es/eslint-plugin-i/
But it was throwing an error when I tried it with one of the rules we use, and even though it was faster, this is now fast enough for me.