Skip to main content

@mercell/eslint-config

Usage

Add eslint and @mercell/eslint-config based on your package manager.

This package will help you write clean code regarding the best practices of React, Javascript and all libraries which we included in our linter package. We strongly recommend to turn on the option in your IDE to lint code on save.

yarn add --dev @mercell/eslint-config eslint

Extends the configuration in .eslintrc.js your repository.

echo '{"extends": "@mercell/eslint-config"}' > .eslintrc