1.0.0 • Published 9 years ago

eslint-config-xo-multi-spaces v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

eslint-config-xo-multi-space Build Status

ESLint shareable config for XO with 2-space indent, key spacing and multi spaces.

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

Install

$ npm install --save-dev eslint-config-xo-multi-spaces

Usage

Add some ESLint config to your package.json:

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

Or to .eslintrc:

{
	"extends": "xo-multi-spaces"
}

This package also exposes xo-multi-spaces/esnext if you want ES2015 support and rules:

{
	"extends": "xo-multi-spaces/esnext"
}

And xo-multi-spaces/browser if you're in the browser:

{
	"extends": "xo-multi-spaces/browser"
}

License

MIT © Fredrik Forsmo