Skip to content

mest-io/eslint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint for MEST team

This is the eslint configuration used by Organization MEST.

Usage

JavaScript

  1. Install: yarn add @mest-fe/eslint-config -D
  2. Add the following code to the in-configuration file (.eslintrc):
{ "extends": "@mest-fe/eslint-config" }

TypeScript

  1. Install: yarn add @mest-fe/eslint-config-ts -D
  2. Adding configuration to the .eslintrc file:
{
  "extends": ["@mest-fe/eslint-config-ts"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

React

  1. Install: yarn add @mest-fe/eslint-config-ts @mest-fe/eslint-config-react -D
  2. Add the following code to the in-configuration file (.eslintrc):
{
  "extends": ["@mest-fe/eslint-config-ts", "@mest-fe/eslint-config-react"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

LICENSE

MIT