Socket
Socket
Sign inDemoInstall

@bumped-inc/eslint-config

Package Overview
Dependencies
13
Maintainers
7
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bumped-inc/eslint-config

Shared eslint-config for Bumped


Version published
Maintainers
7
Created

Readme

Source

@bumped-inc/eslint-config

Shared eslint-config for Bumped

Usage

Add the appropriate devDependencies:

yarn add eslint prettier @bumped-inc/eslint-config --dev

Accessibility with React projects

Because Accessibility is often hard to add after-the-fact to projects, it is currently opt-in, allowing the developer to have more control over the specific rules. This may change in the future if we settle on appropriate standards.

New projects should attempt to follow the full accessibility rules if possible.

For full list of rules, see eslint-plugin-jsx-a11y or eslint-plugin-react-native-a11y.

Example React config

In package.json:

"eslintConfig": {
  "extends": [
    "@bumped-inc/eslint-config/react",
    "plugin:jsx-a11y/recommended"
  ],
  "plugins": [
    "jsx-a11y"
  ]
}

You could alternatively specify "plugin:jsx-a11y/strict" or custom rules as you see fit.

The eslint-plugin-jsx-a11y is included as a dependency of this project.

Example React-Native config

In package.json:

"eslintConfig": {
  "extends": [
    "@bumped-inc/eslint-config/react",
    "plugin:react-native-a11y/recommended"
  ],
  "plugins": [
    "react-native-a11y"
  ]
}

The eslint-plugin-react-native-a11y is not included as a dependency of this project and would need to be installed separately.

FAQs

Last updated on 17 Jun 2022

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