@@ -36,7 +36,7 @@ public struct Configuration: Codable, Equatable {
3636
3737 private enum CodingKeys : CodingKey {
3838 case version
39- case allDisabled
39+ case skipAll
4040 case maximumBlankLines
4141 case lineLength
4242 case spacesBeforeEndOfLineComments
@@ -71,7 +71,7 @@ public struct Configuration: Codable, Equatable {
7171 /// MARK: Common configuration
7272
7373 /// Is all formatting disbled?
74- public var allDisabled = false
74+ public var skipAll = false
7575
7676 /// The dictionary containing the rule names that we wish to run on. A rule is not used if it is
7777 /// marked as `false`, or if it is missing from the dictionary.
@@ -278,7 +278,7 @@ public struct Configuration: Codable, Equatable {
278278 public init ( contentsOf url: URL ) throws {
279279 if url. lastPathComponent == Self . suppressionFileName {
280280 var config = Configuration ( )
281- config. allDisabled = true
281+ config. skipAll = true
282282 self = config
283283 return
284284 }
@@ -316,8 +316,8 @@ public struct Configuration: Codable, Equatable {
316316 // default-initialized instance.
317317 let defaults = Configuration ( )
318318
319- self . allDisabled =
320- try container. decodeIfPresent ( Bool . self, forKey: . allDisabled )
319+ self . skipAll =
320+ try container. decodeIfPresent ( Bool . self, forKey: . skipAll )
321321 ?? false
322322 self . maximumBlankLines =
323323 try container. decodeIfPresent ( Int . self, forKey: . maximumBlankLines)
@@ -406,7 +406,7 @@ public struct Configuration: Codable, Equatable {
406406 var container = encoder. container ( keyedBy: CodingKeys . self)
407407
408408 try container. encode ( version, forKey: . version)
409- try container. encode ( allDisabled , forKey: . allDisabled )
409+ try container. encode ( skipAll , forKey: . skipAll )
410410 try container. encode ( maximumBlankLines, forKey: . maximumBlankLines)
411411 try container. encode ( lineLength, forKey: . lineLength)
412412 try container. encode ( spacesBeforeEndOfLineComments, forKey: . spacesBeforeEndOfLineComments)
0 commit comments