0.1.5 • Published 3 months ago

@monogram/eslint-config v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

eslint-config

ESLint config used at Monogram.

Usage

Automatic

Run the following command and follow the prompts.

npx @monogram/eslint-config

Manual

Install dependencies

pnpm add -D eslint @monogram/eslint-config

Depending on your project, add the following to a .eslintrc.js file:

Node.js rules

module.exports = {
	extends: '@monogram/eslint-config/node'
}

See the rules

Next.js rules

module.exports = {
	extends: '@monogram/eslint-config/next'
}

See the rules

Svelte

coming soon

Astro

coming soon