MERN Starter Kit: Error reporting is inconsistent #24272
Labels
info-needed
Issue requires more information from poster
javascript
JavaScript support issues
typescript
Typescript support issues
Test tour MERN - #22277
Steps to Reproduce:
index.js
, change any of therequire
torequire123
: No errorindex.js
, addboohoo()
anywhere : No errorserver.js
, changeconsole.error
toconsole.errr
: No errorserver.js
, addboohoo()
anywhere : Error shown:eslint: boohoo is not defined
server.js
, changedummyData()
todummyDta()
: Error shown:eslint: dummyDta is not defined
post.controller.js
, changePost.find()
toPost.fin()
: No errorAlso,
npm run build
doesn't find any of these errors.Meaning if there was a typo, user wouldn't know until the program is run.
The text was updated successfully, but these errors were encountered: