0.3.0 • Published 3 years ago

eslint-config-xo-flow v0.3.0

Weekly downloads
930
License
MIT
Repository
github
Last release
3 years ago

This package is deprecated as it's clear that Flow has no future outside of Facebook.


eslint-config-xo-flow

ESLint shareable config for Flow to be used with eslint-config-xo

Install

$ npm install --save-dev eslint-config-xo eslint-config-xo-flow babel-eslint eslint-plugin-flowtype

Usage

Add some ESLint config to your package.json:

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

Or to .eslintrc:

{
	"extends": [
		"xo",
		"xo-flow"
	]
}

Tip

Use with XO

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

Related