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

@bidi82/eslint-config-typescript

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

@bidi82/eslint-config-typescript

bd82's Shareable ESLint configurations for TypeScript.

  • 0.3.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@bidi82/eslint-config-typescript

bd82's Shareable ESLint configurations for TypeScript.

This extends @bidi82/eslint-config-javascript shared configuration with additional TypeScript specific rules and settings. There is no need to explicitly install the JavaScript configuration when using this package.

Installation

npm install --save-dev @bidi82/eslint-config-typescript
# or
yarn add --dev @bidi82/eslint-config-typescript
# or
pnpm install --dev @bidi82/eslint-config-typescript

Usage

This is an ESM only package. It exports a two eslint flat configuration objects.

// eslint.config.mjs

import { withoutTypeChecks } from "@bidi82/eslint-config-typescript";

export default [
  // shared config would normally be included **first**
  ...withoutTypeChecks,
];
// eslint.config.mjs

import { withTypeChecks } from "@bidi82/eslint-config-typescript";

export default [
  // shared config would normally be included **first**
  ...withTypeChecks,
  // The `withTypeChecks` config requires additional settings for the TypeScript parser.
  // - See: https://typescript-eslint.io/getting-started/typed-linting for details
  {
    languageOptions: {
      parserOptions: {
        projectService: true,
        tsconfigRootDir: import.meta.dirname,
      },
    },
  },
  // Your project eslint configs below:
  // Example of additional config for specific project `ignores`
  {
    ignores: ["**/out/"],
  },
];

Keywords

FAQs

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