Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/eslint-config-xo-flow
ESLint shareable config for Flow to be used with eslint-config-xo
https://github.com/sindresorhus/eslint-config-xo-flow
eslint eslint-config eslint-rules flowtype nodejs npm-package xo
Last synced: 4 months ago
JSON representation
ESLint shareable config for Flow to be used with eslint-config-xo
- Host: GitHub
- URL: https://github.com/sindresorhus/eslint-config-xo-flow
- Owner: sindresorhus
- License: mit
- Archived: true
- Created: 2018-05-30T09:00:30.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-09-22T10:45:44.000Z (over 3 years ago)
- Last Synced: 2024-04-14T10:28:25.080Z (9 months ago)
- Topics: eslint, eslint-config, eslint-rules, flowtype, nodejs, npm-package, xo
- Language: JavaScript
- Size: 6.84 KB
- Stars: 24
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
This package is deprecated as it's clear that Flow has no future outside of Facebook.
---
# eslint-config-xo-flow
> ESLint [shareable config](https://eslint.org/docs/developer-guide/shareable-configs.html) for [Flow](https://flow.org) to be used with [eslint-config-xo](https://github.com/xojs/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:
```json
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": [
"xo",
"xo-flow"
]
}
}
```Or to .eslintrc:
```json
{
"extends": [
"xo",
"xo-flow"
]
}
```## Tip
### Use with XO
```
$ npm install --save-dev eslint-config-xo-flow babel-eslint eslint-plugin-flowtype
``````json
{
"name": "my-awesome-project",
"xo": {
"extends": "xo-flow"
}
}
```## Related
- [eslint-config-xo](https://github.com/xojs/eslint-config-xo) - ESLint shareable config for XO
- [XO](https://github.com/xojs/xo)