Skip to content

beyonk-group/eslint-config

 
 

Repository files navigation





ESLint configuration

Beyonk ESLint rules

Usage

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
]

Configs

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
]

Releasing

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.

About

Shared eslint config for Beyonk

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%