xojs/eslint-config-xo-typescript

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

177

stars

348

commits

JavaScript

primary language

Mar 25, 2026

updated

eslint
eslint-config
eslint-rules
nodejs
npm-package
typescript
xo
Browse cluster: ESLint Configuration and Sharing

README

eslint-config-xo-typescript

ESLint shareable config for TypeScript

[!IMPORTANT] This config has been merged into eslint-config-xo.

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-config-xo-typescript';

export default [
	...xoTypeScript,
];

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

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

export default [
	...xoTypeScriptSpace,
];

Contributors

sindresorhus

323 commits

fregante

7 commits

voxpelli

2 commits

zckrs

2 commits

xojs/eslint-config-xo-typescript

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

177

stars

348

commits

JavaScript

primary language

Mar 25, 2026

updated

eslint
eslint-config
eslint-rules
nodejs
npm-package
typescript
xo
Browse cluster: ESLint Configuration and Sharing

README

eslint-config-xo-typescript

ESLint shareable config for TypeScript

[!IMPORTANT] This config has been merged into eslint-config-xo.

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-config-xo-typescript';

export default [
	...xoTypeScript,
];

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

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

export default [
	...xoTypeScriptSpace,
];

Contributors

sindresorhus

323 commits

fregante

7 commits

voxpelli

2 commits

zckrs

2 commits

Languages

JavaScript

100.0%