Skip to content

monogramdesign/eslint-config

Repository files navigation

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