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

@jupiterone/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/eslint-config

An opinitionated eslint config

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
decreased by-82.99%
Maintainers
1
Weekly downloads
 
Created
Source

@jupiterone/eslint-config

This package provides the standard JupiterOne eslint configuration.

This configuration extends the following:

  • eslint:recommended
  • prettier

It also provides linting support for TypeScript files via @typescript-eslint/parser.

Usage

Install package:

yarn add @jupiterone/eslint-config --dev

For Node.js apps targeting Node.js v18:

// .eslintrc
{
  "root": true,
  "extends": [
    "@jupiterone/eslint-config/node18"
  ],
  "parserOptions": {
    "project": "./tsconfig.json",
    "tsconfigRootDir": "."
  }
}

NOTE: You can also target other versions of Node.js by extending one of the following configurations:

  • @jupiterone/eslint-config/node14 (ECMA version 2020)
  • @jupiterone/eslint-config/node16 (ECMA version 2021)
  • @jupiterone/eslint-config/node18 (ECMA version 2022)

An experimental React configuration is also provided:

// .eslintrc
{
  "root": true,
  "extends": [
    "@jupiterone/eslint-config/react"
  ],
  "parserOptions": {
    "project": "./tsconfig.json",
    "tsconfigRootDir": "."
  }
}

This package automatically applies jest liniting rules to the following files:

  • jest.*.js
  • test/**/*.{ts,tsx,js,jsx}
  • *.test.{ts,tsx,js,jsx}
  • __mocks__/**/*.{ts,tsx,js,jsx}

FAQs

Package last updated on 04 Dec 2023

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