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

@inrupt/eslint-config-base

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inrupt/eslint-config-base

Shared eslint config for Javascript at @inrupt

  • 3.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

eslint-config-inrupt-base

Eslint config which is the base for all inrupt projects. You likely want to import eslint-config-inrupt-lib or eslint-config-inrupt-react instead.

Usage

In order to use this style configuration, you'll need to add the following line to the top of the .eslintrc.js file:

require("@rushstack/eslint-patch/modern-module-resolution");

This ensures that you load the dependencies from the style configuration, instead of your project. This patch is a workaround for the longstanding eslint issue 3458 regarding how eslint loads modules.

Rules

Exhaustive documentation forthcoming. For now, the general principles are:

  • Load a stylistic base set - in this case, airbnb-base
  • Load recommended configs for common libraries: eslint, jest, typescript
  • Load prettier config to override everything where there are conflicts
  • Do very little else- as few custom rules or overrides as possible

Keywords

FAQs

Package last updated on 19 Sep 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