Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xojs/eslint-config-xo-space
ESLint shareable config for XO with 2-space indent
https://github.com/xojs/eslint-config-xo-space
eslint eslint-config eslint-rules nodejs xo
Last synced: 5 days ago
JSON representation
ESLint shareable config for XO with 2-space indent
- Host: GitHub
- URL: https://github.com/xojs/eslint-config-xo-space
- Owner: xojs
- License: mit
- Created: 2015-08-01T17:14:20.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T03:19:46.000Z (8 months ago)
- Last Synced: 2025-01-08T14:32:36.104Z (13 days ago)
- Topics: eslint, eslint-config, eslint-rules, nodejs, xo
- Language: JavaScript
- Homepage: https://github.com/xojs/xo
- Size: 44.9 KB
- Stars: 46
- Watchers: 9
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
Awesome Lists containing this project
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
This is for advanced users. [You probably want to use XO directly.](https://github.com/xojs/eslint-config-xo#use-the-xo-cli-instead)
**Use the [XO issue tracker](https://github.com/xojs/xo/issues) instead of this one.**
## Install
```sh
npm install --save-dev eslint-config-xo-space
```## Usage
Add some ESLint config to your `package.json`:
```json
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "xo-space"
}
}
```Or to `.eslintrc`:
```json
{
"extends": "xo-space"
}
```This package also exposes [`xo-space/browser`](browser.js) if you're in the browser:
```json
{
"extends": "xo-space/browser"
}
```## Related
- [eslint-config-xo](https://github.com/xojs/eslint-config-xo) - ESLint shareable config for XO
- [eslint-config-xo-react](https://github.com/xojs/eslint-config-xo-react) - ESLint shareable config for React to be used with the above