@zelz/eslint-config

Zelzen Eslint Config

Usage no npm install needed!

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

README

@zelz/eslint-config

Zelzen Eslint Config

Common eslint config with optional support for React, JSX Accessibility, Typescript, and Prettier

Install

yarn add -D @zelz/eslint-config

Usage

eslint config

{
  "extends": [
    "@zelz/eslint-config", // Base file this should be included at the top.
    "@zelz/eslint-config/typescript", // Add if you're using typescript.
    "@zelz/eslint-config/react", // Add if you're using react.
    "@zelz/eslint-config/prettier", // Add if you want prettier to format your code (recommended)
  ],
  "rules": {
    // Add custom rules and overrides here
  }
}