VsCode setting.json file for the eslint

Operating system

Windows

Joplin version

2.13.2

Desktop version info

Joplin 2.13.2

Sync target

File system

Editor

Markdown Editor

What issue do you have?

After making the certain changes in a particular file's code I want to format it according to the given .eslintrc.js file. Manually it can be done but how can I achieve that it happens automatically on saving the file or alt + shift + s. I have read many docs still not able to achieve that. If any one have set their vsCode like this I request you to kindly share the code of your setting.json file. Please share the code of your vsCode setting.json file.

I don't know how to do this but at least for Joplin it's not necessary because the file is going to be automatically formatted on commit (using the precommit hook). If that doesn't happen when you commit please let us know what you are seeing (either some error or maybe nothing)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.