@@ -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
@@ -72,7 +72,7 @@ public struct Configuration: Codable, Equatable {
7272 /// MARK: Common configuration
7373
7474 /// Is all formatting disbled?
75- public var allDisabled = false
75+ public var skipAll = false
7676
7777 /// The dictionary containing the rule names that we wish to run on. A rule is not used if it is
7878 /// marked as `false`, or if it is missing from the dictionary.
@@ -286,7 +286,7 @@ public struct Configuration: Codable, Equatable {
286286 public init ( contentsOf url: URL ) throws {
287287 if url. lastPathComponent == Self . suppressionFileName {
288288 var config = Configuration ( )
289- config. allDisabled = true
289+ config. skipAll = true
290290 self = config
291291 return
292292 }
@@ -324,8 +324,8 @@ public struct Configuration: Codable, Equatable {
324324 // default-initialized instance.
325325 let defaults = Configuration ( )
326326
327- self . allDisabled =
328- try container. decodeIfPresent ( Bool . self, forKey: . allDisabled )
327+ self . skipAll =
328+ try container. decodeIfPresent ( Bool . self, forKey: . skipAll )
329329 ?? false
330330 self . maximumBlankLines =
331331 try container. decodeIfPresent ( Int . self, forKey: . maximumBlankLines)
@@ -420,7 +420,7 @@ public struct Configuration: Codable, Equatable {
420420 var container = encoder. container ( keyedBy: CodingKeys . self)
421421
422422 try container. encode ( version, forKey: . version)
423- try container. encode ( allDisabled , forKey: . allDisabled )
423+ try container. encode ( skipAll , forKey: . skipAll )
424424 try container. encode ( maximumBlankLines, forKey: . maximumBlankLines)
425425 try container. encode ( lineLength, forKey: . lineLength)
426426 try container. encode ( spacesBeforeEndOfLineComments, forKey: . spacesBeforeEndOfLineComments)
0 commit comments