Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 649 Bytes

README.md

File metadata and controls

51 lines (32 loc) · 649 Bytes

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