-
Notifications
You must be signed in to change notification settings - Fork 6
Swift files #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift files #31
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
reviews: | ||
path_filters: ["**/*","*.*"] | ||
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix YAML formatting and optimize path filters. The configuration has formatting issues and redundant patterns:
Apply this diff to fix the formatting and optimize the configuration: reviews: - path_filters: ["**/*","*.*"] + path_filters: ["**/*"] 📝 Committable suggestion
Suggested change
reviews:
path_filters: ["**/*","*.*"]
reviews:
path_filters: ["**/*"]
🧰 Tools🪛 YAMLlint (1.37.1)[warning] 2-2: too few spaces after comma (commas) [error] 2-2: no new line character at the end of file (new-line-at-end-of-file) 🤖 Prompt for AI Agents
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
disabled_rules: [] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Foundation | ||
|
||
class my_class { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix class naming convention. Swift class names should follow PascalCase convention. -class my_class { +class MyClass { 📝 Committable suggestion
Suggested change
class my_class {
class MyClass {
🤖 Prompt for AI Agents
|
||
func doSomething( ) { | ||
let name = "ChatGPT" | ||
print( "Hello, \(name)" ) | ||
} | ||
|
||
func unusedFunction() { | ||
// This function is never used | ||
} | ||
Comment on lines
+9
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Remove unused function. The - func unusedFunction() { - // This function is never used - } 📝 Committable suggestion
Suggested change
func unusedFunction() {
// This function is never used
}
// (Removed unusedFunction())
🤖 Prompt for AI Agents
|
||
} | ||
|