When working as a team, using a linter ensures a shared style of coding. This helps everyone immediately get their bearings when looking at a colleague's latest work. We use eslint as our linter.
Every codebase has a .eslintrc file that shares
You can find our default .eslintrc file on our dofiles repo.
To get started with ESLint, you can install it using npm or yarn:
npm install eslint --save-dev
yarn add eslint --dev
.eslint.json file to the root dir and run this command
eslint . --fix
If you have any questions about this process, reach out to firstname.lastname@example.org