npm config get prefix command to find the path to the
mhy executable file.
node_modules folder should be around there somewhere. It varies between different systems, maybe it is right next to it, maybe inside a
lib directory next to it or the upper levels.
Inside the global
node_modules folder, you'll find
mhy/node_modules. The path to that directory is what we will need.
# Generating all possible config files mhy can providemhy config# Use -o to overwrite existing filesmhy config -o# Generate specific config filesmhy config prettier typescript webpack -io
tsconfig.json file in your root folder
Generate prettier config
mhy config prettier -io and install
Prettier - Code formatter plugin.
Unfortunately you'll need to create watcher for each
jsx, ts, tsxwatcher also. Do this with copying the watcher and change the
ONLY in case you don't have
.eslintrc file yet:
mhy config eslint -i
File > Preferences > Settings > Extensions > ESLint
Edit in settings.json
mhy's nodemodules path and add the following key into _VSCode