Giter VIP home page Giter VIP logo

Comments (5)

SimplyDanny avatar SimplyDanny commented on June 6, 2024

I don't get it. Where do you want to import what from where?

from swiftlint.

cah-iswaria-sasi avatar cah-iswaria-sasi commented on June 6, 2024

swiftlint says swiftlint format for sonarqube should be .json but installed backelite swift plugin, it says swiftlint format is .txt...

however .json isnt working or parsing in sonarqube but swiftlint.txt parses and prints result..

from swiftlint.

SimplyDanny avatar SimplyDanny commented on June 6, 2024

Sonar itself offers a Swift plugin that can import SwiftLint reports in JSON format. That's what the sonarqube reporter generates.

The Backelite plugin seems to parse the default SwiftLint output (that is the output of the xcode reporter). That's what I conclude from the regex used in their parser. So if you use this third-party plugin instead of the official one from Sonar, you need to pipe the normal SwiftLint output into a txt file instead of using the sonarqube output.

from swiftlint.

cah-iswaria-sasi avatar cah-iswaria-sasi commented on June 6, 2024

we have duplications block which is reported as 0% but we have duplications in files. we are using your plugin for swift project analysis. can you please tell why is it so not working or its following any algorithm or methodology that we need to be aware of

from swiftlint.

SimplyDanny avatar SimplyDanny commented on June 6, 2024

Analysis of duplicated code is not part of SwiftLint. It might only be part of the Sonar plugins and I've never used any of them. Therefore, I cannot help you with that.

from swiftlint.

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.