Code Monkey home page Code Monkey logo

Comments (8)

pavlospt avatar pavlospt commented on May 22, 2024

@passy Is there a list of those, that you are ok with?

I mean there are lint errors like:

  • view.setForeground(null); that are safe-guarded with an API check before accessing them, although Lint does not understand it. One solution could be to reverse the API check and run that method only then, that would satisfy the Lint I suppose.

from litho.

passy avatar passy commented on May 22, 2024

@pavlospt That sounds pretty reasonable.

We don't have a list right now. I think it might be best to tackle these in a few individual PRs. There may be some that are a bit more invasive and require some thought but a bunch of them are probably just missing annotations or places where we could use @SuppressLint if it's clear that Lint is overly sensitive.

from litho.

pavlospt avatar pavlospt commented on May 22, 2024

@passy Ok I understand what you mean. Will try to create a PR covering most of them so that we can discuss what is acceptable and should be suppressed and what not :)

from litho.

passy avatar passy commented on May 22, 2024

@pavlospt Awesome!

from litho.

pavlospt avatar pavlospt commented on May 22, 2024

If this one is still relevant I think I can prepare the PR I said some time ago 😂

from litho.

passy avatar passy commented on May 22, 2024

Oh yeah, that would be awesome. Would love to get rid of some more lint warnings. :)

from litho.

pavlospt avatar pavlospt commented on May 22, 2024

A nice alternative to this would be using a Lint baseline file and fix issues in parallel!

from litho.

colriot avatar colriot commented on May 22, 2024

Hey @pavlospt ! Were there any progress about that? I think we may enable Lint baseline for this config and switch abortOnError on again

from litho.

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.