0.2.3 • Published 4 years ago

@lastline/eslint-config-lastline-react v0.2.3

Weekly downloads
12
License
MIT
Repository
github
Last release
4 years ago

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.