eslint-config-availity
Shareable ESLint config for Availity projects designed to be used with Prettier and Typescript
Installation
Typescript
npx install-peerdeps --dev eslint-config-availity
Vanilla
yarn add --dev eslint-config-availity
Features
Usage
Typescript is supported in both configurations
Node w/ optional Typescript
extends: availity
Browser (React) w/ Typescript
extends: availity/browser
Workflow
Allows root imports in @availity/workflow projects.
extends: availity/workflow
Prettier
Recommended settings
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
}
Contributing
$ yarn
- Make necessary changes
- Update
README.md
and test.js
if necessary - Run
yarn run release
. This command uses standard-version to automatically determine the version based on commits and generate a CHANGELOG - Run
git push --follow-tags origin <branch> && yarn publish
to publish
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