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

@einride/eslint-plugin

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@einride/eslint-plugin

Einride's default ESLint config

  • 7.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
459
decreased by-7.09%
Maintainers
3
Weekly downloads
 
Created
Source

@einride/eslint-plugin

license npm version total npm downloads

Einride's default ESLint config

Installation

Install @einride/eslint-plugin as a dev dependency:

yarn add @einride/eslint-plugin --dev

Make sure ESLint and Prettier are also installed in your project.

Usage

Enable all default rules

Add plugin:@einride/default to the extends array in your ESLint configuration file. In .eslintrc.js:

module.exports = {
  extends: ["plugin:@einride/default"],
}

Note that you can omit the /eslint-plugin part of the package name, since it will be automatically assumed by ESLint.

To override a rule, add it to the rules object:

module.exports = {
  extends: ["plugin:@einride/default"],
  rules: {
    "max-depth": "off",
  },
}

Contribute

See Contributing Guide.

License

MIT

Keywords

FAQs

Package last updated on 12 Feb 2024

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