Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@privy-io/eslint-config

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@privy-io/eslint-config

Privy's common ESLint config.

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@privy-io/eslint-config

Privy's common ESLint config.

Usage

To use this config in a new package, first install ESLint and the config package:

npm install --save-dev eslint @privy-io/eslint-config

Then create .eslintrc.js with the following content:

module.exports = {
  extends: '@privy-io/eslint-config',
};

Finally, add your package to the list below for reference.

Development

Whenever you make changes to this config, you should bump the version and re-publish:

npm version patch
npm publish

Then update the packages which use this config:

pushd ../privy-js && npm update @privy-io/eslint-config && popd
pushd ../privy-node && npm update @privy-io/eslint-config && popd

Notes

To ensure that we always use the same versions of transitive config and plugin dependencies, this package uses npm-shrinkwrap.json to pin exact dependency versions when it itself is installed as a dependency. It is automatically updated whenever you npm install a package. (This replaces package-lock.json.)

@rushstack/eslint-patch is used to patch ESLint to load plugins relative to this config. (By default, ESLint loads plugins relative to the project root, which would require them to be installed as peerDependencies.)

FAQs

Package last updated on 15 Feb 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

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