Dice ESLint Config

Shareable ESLint and Prettier configuration for concise and modern code.
Installation
NPM
npm install -D @dice-discord/eslint-config
Yarn
yarn -D @dice-discord/eslint-config
After you have installed the config, you need to use it in your ESLint config file.
{
"extends": [
"@dice-discord"
]
}
PNPM
pnpm install -D @dice-discord/eslint-config eslint-plugin-prettier eslint-config-prettier
You must also install the prettier ESLint extensions.
This is due to a bug affecting ESLint that doesn't require extensions properly because of how PNPM limits requiring packages.
Badge
If you want to show what code style you're using, you can use this badge in your project descriptions.

[](https://github.com/dice-discord/eslint-config)