New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chancedigital/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chancedigital/eslint-config

Shareable configuration for ESLint following Chance Digital Coding Standards.

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Chance Digital ESLint Config

ESLint configuration following Chance Digital Coding Standards. WIP.

Usage

You should install this configuration and peer dependencies as devDependencies in your project:

yarn add -D @chancedigital/eslint-config eslint eslint-plugin-import eslint-plugin-jest babel-eslint

If you're planning to use the React superset of rules, you should also install eslint-plugin-react and eslint-plugin-react-hooks:

yarn add -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y

If you're planning to use the WordPress superset of rules, you should also install eslint-plugin-wpcalypso:

yarn add -D eslint-plugin-wpcalypso

Next, extend the configuration from your project's ESLint configuration:

"extends": "@chancedigital"

Or, if your project uses React and you want to opt in to additional React-specific rules, extend the React superset:

"extends": "@chancedigital/eslint-config/react"

...or for WordPress projects:

"extends": "@chancedigital/eslint-config/wp"

Refer to the ESLint documentation on Shareable Configs for more information.

Keywords

FAQs

Package last updated on 20 May 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc