kununu config for ESLint
This package contains ESLint rules for consistent JS and JSX code across kununu's projects.
Add @kununu/eslint-config npm package as dev dependency to your project:
npm install --save-dev @kununu/eslint-config
Create a .eslintrc
file with the following configuration:
{
"extends": "@kununu/eslint-config"
}
See docs to find more detailed information on ESLint configuration and usage.
At kununu, @kununu/eslint-config and @kununu/stylelint-config linters runs on every commit, but finding a lint error after push can be frustrating and waste time. In order to avoid it, editor plugins are available to warn you and validate as you code.
There's what we use and recommend: