eslint-config-mocoding

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-mocoding

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.81 kB

Total Files

5

Last publish

Collaborators

  • offbeatful