@lastline/eslint-config-lastline-react
v0.2.3
Published
Lastline's ESLint config extending eslint-config-react-app
Downloads
4
Readme
eslint-config-lastline-react
Lastline's ESLint config extending eslint-config-react-app.
Inspired by eslint-config-airbnb-typescript-prettier but extends 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 @lastline/eslint-config-lastline-react.
$ npm install eslint typescript eslint-config-lastline-react --save-devand put into your .eslintrc.js file:
module.exports = {
extends: '@lastline/lastline-react',
};License
Open source licensed as MIT.
