1.0.0 • Published 3 years ago

eslint-config-mocoding v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

eslint-config-mocoding

Shared eslint and prettier configuration

The package contains shared eslint and prettier settings configured to work together for Typescript and React.

Getting started

Install package as development dependency:

yarn add --dev eslint-config-mocoding

Add the following to lines to package.json file:

  "eslintConfig": {
    "extends": "mocoding"
  },
  "prettier": "eslint-config-mocoding/prettier"

Details

Several important notes: 1. react/prop-types is disabled. It does not required for Typescript 2. @typescript-eslint/explicit-function-return-type changed to warn and allowExpressions is set to true.