Comments (2)
I imagine the fix is that we should depend on
sourcekitten_com_github_apple_swift_argument_parser
explicitly in https://github.com/realm/SwiftLint/blob/main/bazel/repos.bzl
Could you try if that helps?
from swiftlint.
Had to apply this patch to make it work:
index 93a8cce26..db6d27dbe 100644
--- bazel/repos.bzl
+++ bazel/repos.bzl
@@ -17,6 +17,29 @@ def swiftlint_repos(bzlmod = False):
url = "https://github.com/apple/swift-syntax/archive/refs/tags/510.0.2.tar.gz",
)
+ http_archive(
+ name = "sourcekitten_com_github_apple_swift_argument_parser",
+ url = "https://github.com/apple/swift-argument-parser/archive/refs/tags/1.3.1.tar.gz",
+ sha256 = "4d964f874b251abc280ee28f0f187de3c13a6122a9561524f66a10768ca2d837",
+ build_file = "@com_github_jpsim_sourcekitten//bazel:SwiftArgumentParser.BUILD",
+ strip_prefix = "swift-argument-parser-1.3.1",
+ )
+
+ http_archive(
+ name = "sourcekitten_com_github_jpsim_yams",
+ url = "https://github.com/jpsim/Yams/releases/download/5.0.6/Yams-5.0.6.tar.gz",
+ sha256 = "a81c6b93f5d26bae1b619b7f8babbfe7c8abacf95b85916961d488888df886fb",
+ strip_prefix = "Yams-5.0.6",
+ )
+
+ http_archive(
+ name = "sourcekitten_com_github_drmohundro_SWXMLHash",
+ url = "https://github.com/drmohundro/SWXMLHash/archive/refs/tags/7.0.1.tar.gz",
+ build_file = "@com_github_jpsim_sourcekitten//bazel:SWXMLHash.BUILD",
+ sha256 = "bafa037a09aa296f180e5613206748db5053b79aa09258c78d093ae9f8102a18",
+ strip_prefix = "SWXMLHash-7.0.1",
+ )
+
http_archive(
name = "swiftlint_com_github_scottrhoyt_swifty_text_table",
sha256 = "b77d403db9f33686caeb2a12986997fb02a0819e029e669c6b9554617c4fd6ae",
from swiftlint.
Related Issues (20)
- `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? HOT 2
- Autocorrect for `redundant_void_return` can cause code breakage HOT 2
- Error running in `node:slim-21` docker image
- void_function_in_ternary incorrectly triggered with if and switch expressions
- change excludingSyntaxKinds for VerticalWhitespaceBetweenCasesRule.swift HOT 3
- 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
- Xcode 15 'Internal inconsistency error' when using as a Build Tool Plug-In 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.