Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.78 KB

README.md

File metadata and controls

54 lines (42 loc) · 1.78 KB

eslint-config-start

  • Slightly opinionated ESLint config that should be a good start for any project.
  • Contains universal rules that are not framework or FE/BE specific.
  • Supports TypeScript and Prettier.

What it contains

Check the full list of rules in index.js

Install

npm install --save-dev eslint-config-start

Configure

Add this to your .eslintrc file:

{
  "extends": [
    "start"
  ],

  // In case you are using TypeScript, also add link to the tsconfig in the overrides
  "overrides": [
    {
      "files": ["*.ts", "*.tsx"],
      "parserOptions": {
        "project": "./tsconfig.json"
      }
    }
  ]
}

List of start packages