Giter Club home page Giter Club logo

Comments (10)

zippy1978 avatar zippy1978 commented on May 28, 2024 3

Hi,
I've juste released version 0.3.0 with @stephanecodes PR.
You can use sonar.dart.analysis.useExistingOptions=true in your sonar-project.properties files to use your own analysis-options.yaml
I'm closing the issue.

from sonar-flutter.

stephanecodes avatar stephanecodes commented on May 28, 2024 2

I created PR #20 one month ago to add this feature. Meanwhile you can switch to my branch.

from sonar-flutter.

stephanecodes avatar stephanecodes commented on May 28, 2024 1

Here is the one I'm using :
sonar-flutter-plugin-0.2-SNAPSHOT-PR20.zip

Follow the documentation update to configure it
https://github.com/stephanecodes/sonar-flutter/tree/feature/allow-existing-analysis-options#use-existing-analysis-options

from sonar-flutter.

matpag avatar matpag commented on May 28, 2024

I have the same problem.
It should be possible to disable some checks and use the project analysis-options.yaml file and not the one bundled in the plugin.

from sonar-flutter.

matpag avatar matpag commented on May 28, 2024

Will try to build your branch as soon as OpenJDK site resurrect (is currently unreachable) to download OpenJDK 11 which is required to build the plugin.

from sonar-flutter.

matpag avatar matpag commented on May 28, 2024

Thank you for the help but for security reasons I can't install a JAR which is not coming from a "trusted" source.
I will wait until OpenJDK is back and will test your changes :)

from sonar-flutter.

stephanecodes avatar stephanecodes commented on May 28, 2024

Ok ;)
If by installing you mean on the global SonarQube of your organization, you can try it locally. I'm using SonarQube 7.9.3 LTS
https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.9.3.zip

from sonar-flutter.

sebkoller avatar sebkoller commented on May 28, 2024

I was surprised that the plugin overrides existing analysis-options.yaml rules in the first place.

I guess the expected behavior would be to use the existing rules, and if there are none, fallback to some default rules (preferably pedantic or effective dart).

from sonar-flutter.

clairtonluz avatar clairtonluz commented on May 28, 2024

I need this feature. I using pedantic rules, but when run sonar-scan in my project the analysis-options.yaml is overrided. Do you have any predictions about that?

from sonar-flutter.

stephanecodes avatar stephanecodes commented on May 28, 2024

You can either use the one I provided a month ago or wait for the maintainer to merge my PR.

from sonar-flutter.

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.