1. eslint-config-xo
ESLint shareable config for XO
eslint-config-xo
Package: eslint-config-xo
Created by: xojs
Last modified: Tue, 06 Feb 2024 07:26:43 GMT
Version: 0.44.0
License: MIT
Downloads: 1,156,167
Repository: https://github.com/xojs/eslint-config-xo

Install

npm install eslint-config-xo
yarn add eslint-config-xo

eslint-config-xo

ESLint shareable config for XO

This is for advanced users. You probably want to use XO directly.

See eslint-plugin-unicorn for some additional useful rules.

Use the XO issue tracker instead of this one.

Install

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

Usage

Add some ESLint config to your package.json:

 {
	"name": "my-awesome-project",
	"eslintConfig": {
		"extends": "xo"
	}
}

Or to .eslintrc:

 {
	"extends": "xo"
}

This package also exposes xo/browser if you're in the browser:

 {
	"extends": "xo/browser"
}

Use the XO CLI instead

XO is an ESLint wrapper with great defaults.

Here are some reason why you should use the XO CLI instead of this config:

tl;dr You miss out on a lot by just using this config.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code