In this section, you will learn how to implement EditorConfig and ESLint to improve your code quality by validating your code style.
Code style
EditorConfig
EditorConfig helps developers to maintain consistent coding styles between different IDEs.
Configuring EditorConfig
EditorConfig is supported by a lot of editors. You can check whether your editor is supported or not on the official website, https://www.editorconfig.org.
You need to create a file called .editorconfig in your root directory – the configuration I use is this one:
root = true
[*]
indent_style...