1.0.0 • Published 3 years ago
eslint-config-mocoding v1.0.0
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.
1.0.0
3 years ago