ESLint-config for JavaScript projects. It is based on
and uses
to enable linting for more file types.
-
Install via
npm
:npm install --save-dev @paulhfischer/eslint-config-javascript --engine-strict
Note: The installation requires
npm
version 7 or higher (otherwise peer dependencies aren't installed automatically). Have a look at the.pre-commit-hooks.yaml
-file for a list of all peer-dependencies. -
Add the plugin to your eslint-config:
{ "extends": ["@paulhfischer/eslint-config-javascript"] }
-
Add the prettier configuration to your prettier-config:
"@paulhfischer/prettier-config"