eslint-config-availity
Shareable ESLint config for Availity projects
Based on eslint-config-airbnb with the following rules overridden:
- strict
- semi
- no-extra-semi
- no-var
- comma-dangle
- no-shadow
- arrow-body-style
- no-param-reassign
- consistent-return
- arrow-parens
- import/no-extraneous-dependencies
- react/sort-comp
- react/jsx-filename-extension
- ract/require-default-props
- class-methods-use-this
- no-plusplus
Installation
npm install eslint babel-eslint eslint-config-airbnb eslint-config-availity@next eslint-plugin-react eslint-plugin-promise eslint-plugin-import eslint-plugin-jsx-a11y --save-dev
Usage Node
extends: eslint-config-availity
Usage Browser (React, Angular, etc)
extends: eslint-config-availity/browser
License
MIT