Skip to content

Instantly share code, notes, and snippets.

@WesleySmits
Created October 10, 2021 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WesleySmits/9d26d026295998f995f8cf43f1f4e289 to your computer and use it in GitHub Desktop.
Save WesleySmits/9d26d026295998f995f8cf43f1f4e289 to your computer and use it in GitHub Desktop.
TS Starter: Add lint scripts to package.json
"scripts": {
"build": "webpack",
"serve": "webpack serve",
"test": "echo \"Error: no test specified\" && exit 1",
+ "lint": "npx eslint ./app/",
+ "lint:watch": "npx esw --ext .js,.ts ./app --watch"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment