@lastline/eslint-config-lastline-react

0.2.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @lastline/eslint-config-lastline-react

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

8.42 kB

Total Files

5

Last publish

Collaborators

  • awyss