2.0.0 • Published 6 months ago

eslint-config-start v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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