diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 2d11425..86f0933 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -4,13 +4,13 @@ on: push: branches: [ "dev" ] pull_request: + branches: + - dev + - 'feature/**' paths: - '.github/workflows/swiftlint.yml' - 'BeMyPlan/.swiftlint.yml' - '**/*.swift' - branches: - - dev - - 'feature/**' jobs: SwiftLint: diff --git a/BeMyPlan/.swiftlint.yml b/BeMyPlan/.swiftlint.yml index c5cce8c..70aa487 100644 --- a/BeMyPlan/.swiftlint.yml +++ b/BeMyPlan/.swiftlint.yml @@ -11,10 +11,11 @@ disabled_rules: - force_cast - type_name - shorthand_operator +- switch_case_alignment +- for_where +- comma +- opening_brace -opt_in_rules: -- empty_count -- empty_string excluded: - .github/workflows/swift.yml