.editorconfig overrides your editor's configurations to match the team's coding standards. For VSCode, you can install the EditorConfig extension here.
.eslintrc.jsonhelps detect any code on supported editors that might go against the team's coding standards. For VSCode, you can install the ESLint extension here.
For ESLint in VSCode, if there's a problem with your code, you can see a list of errors and warnings on the status bar at the bottom of your window. Here's what to do:
With errors, you'd better fix it.
With warnings, use your best judgment. Sometimes, a line that is over 80 characters long is more readable than a wrapped line. Sometimes, chaining method calls on the same line is more compact and readable than putting each of them on a new line.
.editorconfig
overrides your editor's configurations to match the team's coding standards. For VSCode, you can install the EditorConfig extension here..eslintrc.json
helps detect any code on supported editors that might go against the team's coding standards. For VSCode, you can install the ESLint extension here.For ESLint in VSCode, if there's a problem with your code, you can see a list of errors and warnings on the status bar at the bottom of your window. Here's what to do: