eslint-config-ff
ESLint config of FUCHSFOX
Setup
-
run
yarn add -D @fuchsfox/eslint-config-ff
ornpm i -D @fuchsfox/eslint-config-ff
-
Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-ff@latest" peerDependencies
-
Add the following to your
.eslintrc
depending on your platform
single extensions
{
"extends": "@fuchsfox/ff/native"
}
{
"extends": "@fuchsfox/ff/browser"
}
multiple extensions
{
"extends": [
"@fuchsfox/ff/node",
"@fuchsfox/ff/browser"
]
}
As soon as you add a prettier.rc
you'll overwrite the prettier-config, even if your file is empty.