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

GitHub

View Github