To make your code consistently formatted you could use a linter configuration, we've been using the AirBnB preset which is strict but quite good.
If you CD into your directory in terminal and run eslint --init and you can either answer questions about how you want your style to be or you can use a preset.
To make your code consistently formatted you could use a linter configuration, we've been using the AirBnB preset which is strict but quite good. If you CD into your directory in terminal and run
eslint --init
and you can either answer questions about how you want your style to be or you can use a preset.