# eslint-config-xo-space

> ESLint shareable config for XO with 2-space indent

Latest version **1.0.0** (published 2026-03-25) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install eslint-config-xo-space
pnpm add eslint-config-xo-space
yarn add eslint-config-xo-space
bun add eslint-config-xo-space
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-03-25 |
| First published | 2015-08-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=20.19 |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | space, spaces, eslintconfig, xo, xoxo, code, quality, style, lint, linter, jscs, jshint, jslint, eslint, validate, code style, standard, strict, check, checker, verify, enforce, hint, simple |

## Links

- npm: https://www.npmjs.com/package/eslint-config-xo-space
- Repository: https://github.com/xojs/eslint-config-xo-space
- Homepage: https://github.com/xojs/eslint-config-xo-space#readme
- Issues: https://github.com/xojs/eslint-config-xo-space/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/eslint-config-xo-space

## Dependencies (1)

- [eslint-config-xo](https://npm.io/package/eslint-config-xo.md) ^0.50.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2026-03-25
- 0.36.0 — 2026-02-07
- 0.35.0 — 2024-02-06
- 0.34.0 — 2022-11-08
- 0.33.0 — 2022-05-17
- 0.32.0 — 2022-02-09
- 0.31.0 — 2022-01-09
- 0.30.0 — 2021-10-02
- 0.29.0 — 2021-08-08
- 0.28.0 — 2021-06-15
- 0.27.0 — 2021-02-20
- 0.26.0 — 2021-01-02
- 0.25.0 — 2020-06-03
- 0.24.0 — 2020-02-12
- 0.23.0 — 2020-02-12
- … 23 more at https://npm.io/package/eslint-config-xo-space/versions

## README

# eslint-config-xo-space

> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for [XO](https://github.com/xojs/xo) with 2-space indent

> [!IMPORTANT]
> This config has been merged into [`eslint-config-xo`](https://github.com/xojs/eslint-config-xo).

## Install

```sh
npm install --save-dev eslint-config-xo-space
```

## Usage

In your `eslint.config.js`:

```js
import eslintConfigXoSpace from 'eslint-config-xo-space';

export default [
	...eslintConfigXoSpace(),
];
```

If you're in the browser:

```js
import eslintConfigXoSpace from 'eslint-config-xo-space';

export default [
	...eslintConfigXoSpace({browser: true}),
];
```

---
_Source: https://npm.io/package/eslint-config-xo-space · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
