0.5.0 • Published 9 years ago

eslint-config-xo-react-space v0.5.0

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

eslint-config-xo-react-space Build Status

ESLint shareable config for React to be used with eslint-config-xo-space

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

Install

$ npm install --save-dev eslint-config-xo-space eslint-config-xo-react-space eslint-plugin-react

Usage

Add some ESLint config to your package.json:

{
	"name": "my-awesome-project",
	"eslintConfig": {
		"extends": ["xo", "xo-react-space"]
	}
}

Or to .eslintrc:

{
	"extends": ["xo", "xo-react-space"]
}

You can also mix it with a sub-config:

{
	"extends": ["xo/esnext", "xo-react-space"]
}

Tip

Use with XO

$ npm install --save-dev eslint-config-xo-react-space eslint-plugin-react
{
	"name": "my-awesome-project",
	"xo": {
		"extends": "xo-react-space"
	}
}

Related

License

MIT © Mehdy Dara