Answer the question
In order to leave comments, you need to log in
How to automatically connect eslint in ts-node-dev on change?
Hello!
How can I make npm run lint automatically run on save when I run npm run dev?
current package.json
"scripts": {
"dev": "ts-node-dev --respawn src/index.ts",
"build": "tsc && node dist/*",
"start": "node dist/index.js",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write"
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question