Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 556 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 556 Bytes

ESLint Config

ESLint configuration used for TypeScript projects.

Install

$ yarn add --dev eslint-config-mw

Usage

Modify eslintConfig in package.json as follows.

TypeScript

{
  "name": "cool-node-server",
  "eslintConfig": {
    "extends": "mw"
  }
}

TypeScript + React

{
  "name": "awesome-react-website",
  "eslintConfig": {
    "extends": "mw/react"
  }
}

TypeScript + React Native

{
  "name": "amazing-native-app",
  "eslintConfig": {
    "extends": "mw/react-native"
  }
}