Git Product home page Git Product logo

flow-result-checker's People

Contributors

binki avatar chmac avatar eskimoblood avatar haggholm avatar jbreckel avatar jesstelford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flow-result-checker's Issues

Error while using with styled-components

Hey there. I want to try your filter for flow output, looks promising. But I faced a problem when using styled-components. So if I added it go [ignore] section of .flowconfig, there are no errors. But if it's not there, I receive very strange output:

Found 0 errors


             ^^^^^^^^^^^^ See type parameters of definition here. See lib: /private/tmp/flow/flowlib_2d1625c3/react.js:29

Found 1 error

As you see, there are even no any explaining error messages. Do you have any ideas about what can cause such behaviour? Thanks.

Fails when there are more then 50 errors in node module

If there are more then 50 errors are found flow will additionally print

'\n... 2 more errors (only 50 out of 52 errors displayed)\nTo see all errors, re-run Flow with --show-all-errors\n'

into the stdout. As this is not filtered out the result list has a length on one and the process exits with 1. Solution: always run flow with --show-all-errors

Update readme

Please update the readme with sample usage. Currently trying to use this script results in

Skipping /repository/flow/: No such file or directory

and it's unclear whether it's due to a bug or my own misuse.

Flow 0.65 has new error format, breaks tool

The bug title is probably self-explanatory. The modified error format in Flow 0.65 is not recognised by flow-result-checker.

flow check --quiet --show-all-errors | flow-result-checker

Error --------------------------------------------------------------- node_modules/@client/immutable/immutable.js:268:13

Cannot call `setIn` with `path` bound to `path` because string [1] is incompatible with number [2] in array element.

   node_modules/@client/immutable/immutable.js:268:13
   268| 		setIn(ob, path, val);
                    ^^^^

References:
   node_modules/@client/immutable/immutable.js:265:45
   265| function setDeepIn<T>(ob: T & Object, path: string[], val: any): T {
                                                    ^^^^^^ [1]
   node_modules/timm/src/timm.js:380:61
   380| export function setIn<T: ArrayOrObject>(obj: T, path: Array<Key>, val: any): T {
                                                                    ^^^ [2]

Found 4 errors

Feature Request: Option to add patterns to skip

We're hitting this error. There's a clash between types in flow-typed. The errors are like:

[No file]:0
inconsistent use of library definitions

I manually patched the checker.js file to test for [No file] and ignroe those lines as well as those starting node_modules.

Any interest in adding an option to specify additional patterns to ignore?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.