Discover problems
Author: szepeviktorCreated Sep 23, 2024Updated Sep 23, 2024
Maybe you could benefit from Typescript's static analysis.
npm i typescript
npx tsctsconfig.json
{
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"noEmit": true,
"module": "NodeNext",
"moduleResolution": "nodenext"
},
"files": [
"cli.js",
"index.js",
],
"include": [
"src/*.js"
]
}Source: addyosmani/critical