Comments (5)
I don't get it. Where do you want to import what from where?
from swiftlint.
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.
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.
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.
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)
- opening_brace triggers when the brace is preceded by a comment
- `trailing_closure` rule disagrees with Swift 5.8 forward-scan matching HOT 3
- Upgrading to 0.55.1 through Homebrew fails HOT 2
- MARK Rule hitting on "marketing"
- Report and Improvements on Swiftlint baseline HOT 8
- `opening_brace` fix is broken
- The baseline use absolute path instead of relative file in the baseline content to identify a file HOT 2
- [0.55.1] False positive on `unused_element` where element and index are used separately in subsequent blocks HOT 2
- `opening_brace` now triggers on multiline if statements HOT 1
- SwiftLintCommandPlugin Unknown option '--target' HOT 1
- Ignore .build folders by default HOT 1
- `baseline compare` produces some false alarms
- SwiftLint configuration ignored during Xcode build?
- Autocorrect for `redundant_void_return` can cause code breakage HOT 1
- Error running in `node:slim-21` docker image
- void_function_in_ternary incorrectly triggered with if and switch expressions
- change excludingSyntaxKinds for VerticalWhitespaceBetweenCasesRule.swift
- Rule Request: No Empty Function HOT 2
- Upload Privacy Policy HOT 1
- Enforce attributes to be on the same line only if they don't have arguments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftlint.