eslint-config-availity

9.0.1 • Public • Published

eslint-config-availity

Shareable ESLint config for Availity projects designed to be used with Prettier and Typescript

License NPM Link GitHub Workflow Status

Installation

NPM

npm install --save-dev eslint-config-availity

Yarn

yarn add --dev eslint-config-availity

If you need TypeScript support then you will also need to include typescript as a devDependency

Features

Configs

Plugins

TypeScript

Usage

Typescript is supported in both configurations

Node w/ optional Typescript

# .eslintrc.yaml
extends: availity

Browser (React) w/ Typescript

# .eslintrc.yaml
extends: availity/browser

Workflow

Allows root imports in @availity/workflow projects.

# .eslintrc.yaml
extends: availity/workflow

If you are using TypeScript then you can take advantage of root imports with your tsconfig.json

Prettier

Recommended settings

{
    "printWidth": 120,
    "singleQuote": true,
    "trailingComma": "es5"
}

Contributing

  • yarn
  • Make necessary changes
  • Update README.md and test.js if necessary
  • Commit your changes using the conventional-commits format
  • Push your changes and open a PR
  • A new version will be deployed automatically through the CI process

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

Package Sidebar

Install

npm i eslint-config-availity

Weekly Downloads

485

Version

9.0.1

License

MIT

Unpacked Size

12.6 kB

Total Files

7

Last publish

Collaborators

  • lauroxx
  • dznjudo
  • availity-cicd-bot
  • azeigler
  • dnoler
  • jselden
  • cbaker1
  • twarner
  • gregmartdotin
  • hnicbaker
  • chrishavekost
  • jordan-a-young
  • robmcguinness