eslint-config-availity
Shareable ESLint config for Availity projects designed to be used with Prettier
Installation
npm install eslint babel-eslint@latest eslint-config-airbnb-base eslint-config-airbnb eslint-config-prettier eslint-config-availity@next eslint-plugin-react eslint-plugin-promise eslint-plugin-import eslint-plugin-jsx-a11y@latest --save-dev
Usage
Node
extends: availity
Browser (React, Angular, etc)
extends: availity/browser
Prettier
Recommended settings
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
}
Contributing
npm install
- Make necessary changes
- Update
README.md
and test.js
if necessary - Run
npm run release
. This command does parses angular
style commits using conventional-changelog
to determine the next version for the packages - Alternatively, run
npm run release ${VERSION}
and the release script will use ${VERSION}
as the version number in package.json
Disclaimer
Open source software components distributed or made available in the Availity Materials are licensed to Company under the terms of the applicable open source license agreements, which may be found in text files included in the Availity Materials.
License
MIT