Socket
Socket
Sign inDemoInstall

eslint-config-availity

Package Overview
Dependencies
19
Maintainers
13
Versions
340
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-availity

Shareable ESLint config for Availity projects


Version published
Weekly downloads
829
increased by11.13%
Maintainers
13
Install size
114 MB
Created
Weekly downloads
 

Changelog

Source

9.0.0 (2023-09-12)

⚠ BREAKING CHANGES

  • drop support for node 12 and 14

build

  • drop support for node 12 and 14 add support for node 16 and 18 (ba32eb2)

Readme

Source

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

Keywords

FAQs

Last updated on 12 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc