Wandi ESLint configuration
This package has some peer dependencies. The recommended way to install it and
its peer dependencies in a single command is to install
install-peerdeps
and run
it :
npm install -g install-peerdeps
install-peerdeps --dev @wandiparis/eslint-config-wandi
In your ESLint configuration file (we assume you use JS format in this
documentation, please refer to
ESLint documentation
to see other supported formats), add the following extends
property :
module.exports = {
extends: "@wandiparis/eslint-config-wandi"
};
The config extends some other configurations :
eslint-recommended
(see rules that have a check mark on eslint rules list)plugin:import/errors
from eslint-plugin-import