All Projects → xojs → Eslint Config Xo

xojs / Eslint Config Xo

Licence: mit
ESLint shareable config for XO

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Eslint Config Xo

Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-24.19%)
Mutual labels:  eslint
Eslint Watch
ESLint with simple watching capabilities
Stars: ✭ 159 (-14.52%)
Mutual labels:  eslint
Vui
💯 A personal Vue UI component library for Mobile
Stars: ✭ 171 (-8.06%)
Mutual labels:  eslint
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (-22.04%)
Mutual labels:  eslint
Eslint Plugin Boundaries
Eslint plugin checking architecture boundaries between elements
Stars: ✭ 157 (-15.59%)
Mutual labels:  eslint
Eslint Config Alloy
Progressive ESLint config for your React/Vue/TypeScript projects
Stars: ✭ 2,202 (+1083.87%)
Mutual labels:  eslint
Gatsby V2 Tutorial Starter
Gatsby V2 Starter - product of step by step tutorial
Stars: ✭ 139 (-25.27%)
Mutual labels:  eslint
Express React Boilerplate
Express, MySQL, React/Redux, NodeJs Application Boilerplate
Stars: ✭ 179 (-3.76%)
Mutual labels:  eslint
Express Webpack React Redux Typescript Boilerplate
🎉 A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (-16.13%)
Mutual labels:  eslint
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (-11.29%)
Mutual labels:  eslint
React Itunes Search
🎵Simple web app for itunes search with React
Stars: ✭ 147 (-20.97%)
Mutual labels:  eslint
Vue Webpack Config
Koa2、Webpack、Vue、React、Node
Stars: ✭ 151 (-18.82%)
Mutual labels:  eslint
Eslint docs
🇨🇳A translation of ESLint Documents, including configration and rules.
Stars: ✭ 163 (-12.37%)
Mutual labels:  eslint
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-22.58%)
Mutual labels:  eslint
Eslint Config Standard
ESLint Config for JavaScript Standard Style
Stars: ✭ 2,229 (+1098.39%)
Mutual labels:  eslint
Book
《现代化前端工程师权威指南》https://guoyongfeng.github.io/book/
Stars: ✭ 141 (-24.19%)
Mutual labels:  eslint
Awesome Vue Cli3 Example
🦅 Awesome example for rapid Vue.js development using vue-cli3 .
Stars: ✭ 160 (-13.98%)
Mutual labels:  eslint
React Molin
react-molin是一个全新的基于webpack3、react15、react-router4、antd-mobile的前端架构实现方案(h5)
Stars: ✭ 184 (-1.08%)
Mutual labels:  eslint
Eslint Config Wesbos
No-Sweat™ Eslint and Prettier Setup - with or without VS Code
Stars: ✭ 2,293 (+1132.8%)
Mutual labels:  eslint
Poetic
Automatically install and maintain ESLint, Prettier, EditorConfig and Airbnb rules for JavaScript, TypeScript and React.
Stars: ✭ 165 (-11.29%)
Mutual labels:  eslint

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"
}

Supports parsing ES2015+, but doesn't enforce it by default.

This package also exposes xo/esnext if you want ES2015+ rules:

{
	"extends": "xo/esnext"
}

And 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:

  • XO comes bundled with this config.
  • Beautiful output.
  • Bundles many useful plugins, like eslint-plugin-unicorn, eslint-plugin-import, eslint-plugin-ava, and more.
  • No need to specify file paths to lint. It will lint all JS files except commonly ignored paths.
  • Super simple to add XO to a project with $ npm init xo.
  • Specify indent and semicolon preferences easily without messing with the rule config.
  • Config/rule overrides per files/globs. (ESLint still doesn't support this)
  • Can open all files with errors at the correct line in your editor. (See the --open flag)
  • The editor plugins are IMHO better than the ESLint ones. (Subjective)

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

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].