Skip to content

Commit

Permalink
swiftlint: remove fatalError rule
Browse files Browse the repository at this point in the history
  • Loading branch information
twittemb committed Jan 1, 2020
1 parent 311df28 commit 19fc02f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ opt_in_rules:
- explicit_init
- extension_access_modifier
- fallthrough
- fatal_error_message
- file_header
- file_name
- first_where
Expand Down Expand Up @@ -91,13 +90,3 @@ file_name:
- TestHelpers.swift
- shim.swift
- AutomaticRuleTests.generated.swift

custom_rules:
fatal_error:
name: Fatal Error
excluded: "Tests/*"
message: Prefer using `queuedFatalError` over `fatalError` to avoid leaking compiler host machine paths.
regex: \bfatalError\b
match_kinds:
- identifier
severity: error

0 comments on commit 19fc02f

Please sign in to comment.