@dice-discord/eslint-configdeprecated

Shareable ESLint and Prettier configuration for concise and modern code.

Usage no npm install needed!

<script type="module">
  import diceDiscordEslintConfig from 'https://cdn.skypack.dev/@dice-discord/eslint-config';
</script>

README

Dice ESLint Config

Dice code style

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.

// .eslintrc.json
{
  "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.

Dice code style

[![Dice code style](https://img.shields.io/badge/style-dice-%234caf50.svg)](https://github.com/dice-discord/eslint-config)