Licence
MIT
Version
0.2.3
Deps
15
Size
8 kB
Vulns
0
Weekly
0
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-dev
and put into your .eslintrc.js file:
module.exports = {
extends: '@lastline/lastline-react',
};
License
Open source licensed as MIT.