🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

@blucass/eslint-config-typescript

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blucass/eslint-config-typescript

A set of typescript/javacript lint config rules

2.1.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

eslint-config-typescript

A set of typescript (default) lint config rules

Installation

yarn add -D @blucass/eslint-config-typescript

# or

npm install -D @blucass/eslint-config-typescript

Usage

In your eslint config file, set the extends:

{
  "extends": ["@blucass/typescript"]
}

Or module exports immediately:

module.exports = require('@blucass/eslint-config-typescript')

Just for JS

NOTE:you must provide a babel config file such as babel.config.js in the root directory, since will not parse any experimental syntax when no configuration file is found. See more.

If you are just using js/jsx, what means you don't need typescript lint rules. We also support that with @blucass/eslint-config-typescript/lib/eslint.

FAQs

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