🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@bumped-inc/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@bumped-inc/eslint-config

Shared eslint-config for Bumped

8.0.0
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
7
Weekly downloads
 
Created
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

Package last updated on 17 Jun 2022

Did you know?

Socket

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