Skip to content

workshq/eslint-config

Repository files navigation

@gmworks/eslint-config

gm works Eslint Config

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

Install

yarn add -D @gmworks/eslint-config

Usage

eslint config

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