eslint-config-mocoding
v1.0.0
Published
Shared eslint and prettier configuration
Downloads
3
Readme
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:
react/prop-types
is disabled. It does not required for Typescript@typescript-eslint/explicit-function-return-type
changed towarn
andallowExpressions
is set to true.