Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 673 Bytes

File metadata and controls

34 lines (23 loc) · 673 Bytes

eslint-config-xo-space

ESLint shareable config for XO with 2-space indent

Important

This config has been merged into eslint-config-xo.

Install

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

Usage

In your eslint.config.js:

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

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

If you're in the browser:

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

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