Giter Club home page Giter Club logo

Comments (2)

Skycoder42 avatar Skycoder42 commented on August 11, 2024

I tried to reproduce the issue, and I think the problem lies in how the tool handles analyzer results. Currently, it ignores the exit code and simply checks if lints are present. This was done to enable scan-mode: staged, as the analyzer tool itself cannot be instructed to only scan parts of the project. However, as it seems, it will still print out warning, even if they are marked as non fatal.

This leaves me with 2 options: Remove the error-level completely or remove the scan-mode completely, as we can't do both. I personally would tend more to removing the scan-mode, as it is already artificial (because not natively supported by the dart analyzer) and has led to problems in the past (as changes in staged code might be error free, but could very well cause problems in other files).

I will notify you, once the updated version was released.

from dart_pre_commit.

Skycoder42 avatar Skycoder42 commented on August 11, 2024

Version 5.3.0 with the fixes has been published

from dart_pre_commit.

Related Issues (20)

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.