xojs / eslint-config-xo-flow

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 100.0%