         }
         return attrMap
     }
-
-    public var allAttributes = [String:XMLAttribute]()
+    // swiftlint:enable line_length
+
+    /// All attributes
+    public var allAttributes = [String: XMLAttribute]()
 
     public func attribute(by name: String) -> XMLAttribute? {
         return allAttributes[name]

        options to be set
    - returns: an `SWXMLHash` instance
    */
    class public func config(_ configAction: (SWXMLHashOptions) -> ()) -> SWXMLHash {
        let opts = SWXMLHashOptions()
        configAction(opts)
        return SWXMLHash(opts)

                qualifiedName qName: String?,
                attributes attributeDict: [String: String]) {
#if os(Linux)
        let attributeNSDict = NSDictionary(
            objects: attributeDict.values.flatMap({ $0 as? AnyObject }),
            forKeys: attributeDict.keys.map({ NSString(string: $0) as NSObject })
        )
        let currentNode = parentStack.top().addElement(elementName, withAttributes: attributeNSDict)
#else
        let currentNode = parentStack
            .top()
            .addElement(elementName, withAttributes: attributeDict as NSDictionary)
#endif
        parentStack.push(currentNode)
    }
