@vmw/eslint-config-vmware-react
v0.3.0
Published
VMware's ESLint config based on eslint-config-react-app
Downloads
36
Maintainers
Keywords
Readme
eslint-config-vmware-react
VMware's ESLint config based on eslint-config-react-app.
Overview
Inspired by eslint-config-airbnb-typescript-prettier
but based on eslint-config-react-app
.
Mostly uses "WARN" level to allow a better DX with eslint-loader. Code is transpiled when warnings are present but not when errors exists.
In CI treat warnings as errors with ESLint option: --max-warnings 0
.
How to use
Install eslint
, typescript
with @vmw/eslint-config-vmware-react
.
$ npm install eslint typescript eslint-config-vmware-react --save-dev
and put into your .eslintrc.js
file:
module.exports = {
extends: '@vmw/vmware-react',
};
Contributing
The eslint-config-vmware-react project team welcomes contributions from the community. Before you start working with eslint-config-vmware-react, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.
License
Open source licensed as MIT.