
Beyonk ESLint rules
Installation:
pnpm i --save-dev eslint @beyonk/eslint-config
Create an eslint.config.mjs file in the root directory of your project, or monorepo.
If you want specific rules for a project within the monorepo, create this file there, too, and customise it as required.
Config files don't inherit from their parents.
import recommended from '@beyonk/eslint-config/recommended'
export default [
...recommended
]
There are multiple config types within the project that you can use. Look in package.json/exports
for a comprehensive list:
import recommended from '@beyonk/eslint-config/recommended'
import svelte from '@beyonk/eslint-config/svelte'
export default [
...svelte
]
To release a new version, check out the code on your local machine, then:
pnpm version minor
git push && git push --tags
Where minor
is a sensible default for rule changes which will impact existing projects.