Skip to content

Slightly opinionated ESLint config that should be a good start for any project

License

Notifications You must be signed in to change notification settings

Hurtak/eslint-config-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Slightly opinionated ESLint config that should be a good start for any project

Resources

License

Stars

Watchers

Forks