@mmcodemark/eslint-config-alt
ESLint configuration for Rocket.Chat repositories
Install
Firstly, install the peer dependencies (prerequisites):
npm i -D @babel/eslint-parser eslint prettier
# or, if you are using yarn:
yarn add -D @babel/eslint-parser eslint prettier
Add @mmcodemark/eslint-config-alt
as a dependency:
npm i -D @mmcodemark/eslint-config-alt
# or, if you are using yarn:
yarn add -D @mmcodemark/eslint-config-alt
Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the issues.
Linting
To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:
yarn lint
Some linter warnings and errors can be automatically fixed:
yarn lint-and-fix