@fonkel/eslint-config-fonkel
v0.2.8
Published
Default ESLint config for Fonkel
Downloads
24
Readme
@fonkel/eslint-config-fonkel
Default ESLint config for Fonkel.
Installation
Install using your Node.js package manager of choice:
pnpm i @fonkel/eslint-config-fonkel -D # or npm/yarn/etc.
You need to have NPM package eslint
installed in order to start using ESLint with this configuration. Assuming your IDE of choice is VSCode, it's recommended to install VSCode plugin "ESLint" by Dirk Baeumer and set it up as follows in your VSCode workspace's settings.json
:
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.packageManager": "{{ insert workspace NPM package manager here }}",
"eslint.validate": [
"javascript",
],
}
Your .eslintrc.json
should at the very least look like this to use this config:
{
"extends": "@fonkel/eslint-config-fonkel"
}
See https://eslint.org/docs/developer-guide/shareable-configs for more info on shareable ESLint configs.