Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Commit

Permalink
Changed: plugin-flow-vars -> plugin-flowtype (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagocpontesp authored and MoOx committed Mar 23, 2017
1 parent 1ef640d commit 7a36807
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ rule set (that extends the default one):
_This rule set require babel-eslint._

```console
$ npm i -D eslint babel-eslint eslint-plugin-flow-vars eslint-config-i-am-meticulous
$ npm i -D eslint babel-eslint eslint-plugin-flowtype eslint-config-i-am-meticulous
```

```json
Expand All @@ -121,7 +121,7 @@ rule set (that extends the default one):
_This rule set require babel-eslint._

```console
$ npm i -D eslint babel-eslint eslint-plugin-flow-vars eslint-config-i-am-meticulous
$ npm i -D eslint babel-eslint eslint-plugin-flowtype eslint-config-i-am-meticulous
```

```json
Expand Down Expand Up @@ -177,7 +177,7 @@ $ npm i -D eslint eslint-plugin-react eslint-config-i-am-meticulous


```console
$ npm i -D eslint babel-eslint eslint-plugin-react eslint-plugin-flow-vars eslint-plugin-react-native eslint-plugin-ava eslint-config-i-am-meticulous
$ npm i -D eslint babel-eslint eslint-plugin-react eslint-plugin-flowtype eslint-plugin-react-native eslint-plugin-ava eslint-config-i-am-meticulous
```

```json
Expand Down
6 changes: 3 additions & 3 deletions flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ module.exports = {
parser: "babel-eslint",

plugins: [
"flow-vars",
"flowtype",
],

extends: [
"./index.js",
],

rules: {
"flow-vars/define-flow-type": 2,
"flow-vars/use-flow-type": 2,
"flowtype/define-flow-type": 2,
"flowtype/use-flow-type": 2,
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint": "^3.0.0",
"eslint-find-rules": "^1.11.0",
"eslint-plugin-ava": "^3.0.0",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-flowtype": "^2.25.0",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-react": "^6.3.0",
"flow-bin": "^0.33.0",
Expand Down

0 comments on commit 7a36807

Please sign in to comment.