
This is essentially a fork of the eslint-config I made whilst at Applied Blockchain, but adapted to have Node and Svelte linting, rather than Node and React.
It is based on standard
with a few minor tweaks for neatness.
Want to add an eslint rule? Open a PR and use gh-polls for voting: https://app.gh-polls.com/
Installation:
npm i -D eslint @beyonk/eslint-config
In your project's package.json, use the shorthand syntax
"eslintConfig": {
"extends": "@beyonk"
}
In your project's package.json, use the shorthand syntax
"eslintConfig": {
"extends": "@beyonk/eslint-config/svelte"
}
This project self-lints:
npm i
npm run lint
To release a new version, check out the code on your local machine, then:
npm version minor
git push && git push --tags
Where minor
is a sensible default for rule changes which will impact existing projects.