omichelsen / eslint-config-omichelsen

My shared eslint and prettier config for personal projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-omichelsen

My shared eslint and prettier config for personal projects.

Install

yarn add -D eslint-config-omichelsen

Add the config to your .eslintrc:

{
  "extends": "omichelsen"
}

For prettier plugins in VS Code you might have to add the following to your package.json:

{
  "prettier": "eslint-config-omichelsen/.prettierrc"
}

Usage

To run add the following to your package.json:

{
  "scripts": {
    "lint": "eslint src --ext .js,.ts,.tsx"
  }
}

About

My shared eslint and prettier config for personal projects

License:MIT License


Languages

Language:JavaScript 100.0%