Socket
Socket
Sign inDemoInstall

eslint-config-xo-typescript

Package Overview
Dependencies
Maintainers
0
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-xo-typescript

ESLint shareable config for TypeScript to be used with eslint-config-xo


Version published
Weekly downloads
98K
increased by4.32%
Maintainers
0
Weekly downloads
 
Created
Source

eslint-config-xo-typescript

ESLint shareable config for TypeScript

This config also includes eslint-config-xo.

This config assumes your project is ESM and that you use a strict config.

Install

npm install --save-dev eslint-config-xo-typescript

Use with XO

XO has built-in support for TypeScript, using this package under the hood, so you do not have to configure anything.

Standalone Usage

Add some ESLint config to your package.json (or .eslintrc):

// eslint.config.js
import xoTypeScript from 'eslint-plugin-xo-typescript';

export default [
	...xoTypeScript,
];

Use the space sub-config if you want 2 space indentation instead of tabs:

import xoTypeScriptSpace from 'eslint-plugin-xo-typescript/space';

export default [
	...xoTypeScriptSpace,
];
  • XO

Keywords

FAQs

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