eslint-config-availity
Shareable ESLint config for Availity projects designed to be used with Prettier
Installation
npm install eslint-config-availity --save-dev
Features
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 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
- Run
npm pulish
or npm publish --tag=next
(if working on next release candidate)
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