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

@vertexvis/eslint-config-vertexvis-typescript

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vertexvis/eslint-config-vertexvis-typescript

The Vertex sharable ESLint config for TypeScript.

  • 0.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Vertex ESLint Config for TypeScript

This package contains Vertex's sharable ESLint config for TypeScript. It extends @vertexvis/eslint-config-vertexvis and includes formatting of JS, JSX, TS and TSX files through Prettier.

Usage

Add this package and ESLint as devDependencies to your package.json.

// package.json
{
  "devDependencies": {
    "@vertexvis/eslint-config-vertexvis-typescript": "0.0.0",
    "eslint": "^6.1.0"
  }
}

Add a .eslintrc.js file to the root of your project that extends this config.

This package also includes an optional patch file which monkey patches ESLint's module resolution for plugins. ESLint resolves plugins relative to the consuming package. So any plugins referenced by a sharable config will need to NPM installed in the consuming package. There's an open issue and discussion to change this behavior to resolve plugins relative to the imported config's node_modules folder. This shim mimics this behavior.

// .eslintrc.js

// Include the optional patch which resolves ESLint plugins relative to the
// sharable config package.
require('@vertexvis/eslint-config-vertexvis-typescript/patch');

module.exports = {
  extends: '@vertexvis/vertexvis-typescript',
};

FAQs

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