Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Reorganize flow intefaces and skip linting them
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Aug 19, 2016
1 parent c84ab56 commit 045ee5b
Show file tree
Hide file tree
Showing 33 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.*/.nyc_output/.*

[libs]
./interfaces/
./flow/interfaces/

[options]
esproposal.class_instance_fields=enable
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type $npm$classnames$Classes =
void |
null

declare module 'classnames' {
declare module "classnames" {
declare function exports(
...classes: Array<$npm$classnames$Classes>
): string;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type ConnectDefault = <D, P, S, C: React$Component<D, P, S>, Dispatch: Function>
type ConnectDefaultStateless = () =>
<P>(component: (props: P) => any) => Class<React$Component<void, $Diff<P, {dispatch: Function}>, void>>;

declare module 'react-redux' {
declare module "react-redux" {
declare var exports: {
connect: ConnectAll
& ConnectAllStateless
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// flow-typed signature: 3b60d0484a561f2e7c43ac2a5eb28d87
// flow-typed version: f622abbe3e/redux_v3.x.x/flow_>=v0.23.x

declare module 'redux' {
declare module "redux" {
declare type State = any;
declare type Action = Object;
declare type AsyncAction = any;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"transpile": "babel --ignore __tests__ --copy-files src --out-dir lib",
"prepublish": "rimraf lib && npm run transpile",
"#lint:js:eslint": "https://github.com/eslint/eslint/issues/5679",
"lint:js:eslint": "eslint --ignore-path .gitignore --fix src __tests__ scripts npm interfaces docs/scripts docs/src docs/web_modules boilerplate/scripts boilerplate/src boilerplate/web_modules",
"lint:js:eslint": "eslint --ignore-path .gitignore --fix src __tests__ scripts npm docs/scripts docs/src docs/web_modules boilerplate/scripts boilerplate/src boilerplate/web_modules",
"lint:js:flow": "flow check",
"lint:js": "npm-run-all --parallel lint:js:*",
"lint:css": "stylelint \"+(boilerplate|docs)/web_modules/**/*.css\"",
Expand Down

0 comments on commit 045ee5b

Please sign in to comment.