This package provides basic eslint and prettier configuration as an extensible shared config for react/react-native projects.
yarn add --dev eslint-config-wibb typescript
Create the following files at the root of your project/monorepo:
.eslintrc
{
"extends": ["eslint-config-wibb"]
}
.prettierrc.js
module.exports = require('eslint-config-wibb/prettier')
- Adding typescript configuration