@beequip/eslint-config-react-typescript
v0.6.0
Published
ESlint config for React.js/Typescript/Node.js projects at Beequip.
Downloads
123
Keywords
Readme
eslint-config-react-typescript
Shareable config for ESLint, used in React.js and TypeScript projects at BEEQUIP.
Installing
Install with yarn.
yarn add --dev @beequip/eslint-config-react-typescript
Or npm.
npm install --save-dev @beequip/eslint-config-react-typescript
How to use
Create a new .eslintrc.js
file in the root of your project with the following content:
module.exports = {
'extends': [
'@beequip/eslint-config-react-typescript',
],
}
For an optimal experience, add a Prettier override by creating a .prettierrc
file in the root of your project.
{
"tabWidth": 4,
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
Further reading
For more information on shareable configs for ESLint, see the docs: https://eslint.org/docs/6.0.0/developer-guide/shareable-configs