mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-09 14:01:55 -04:00
SwiftLint redundant_string_enum_value
This commit is contained in:
parent
86a4f0d2cf
commit
df4971edc2
3 changed files with 0 additions and 14 deletions
|
@ -9,15 +9,10 @@ import Foundation
|
||||||
|
|
||||||
struct Catalog: Identifiable, Decodable, Equatable {
|
struct Catalog: Identifiable, Decodable, Equatable {
|
||||||
enum CodingKeys: String, CodingKey {
|
enum CodingKeys: String, CodingKey {
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case type
|
case type
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case standard
|
case standard
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case customerSeed
|
case customerSeed
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case developerSeed
|
case developerSeed
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case publicSeed
|
case publicSeed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,13 +8,9 @@
|
||||||
import UniformTypeIdentifiers
|
import UniformTypeIdentifiers
|
||||||
|
|
||||||
enum ExportListType: String, CaseIterable, Identifiable {
|
enum ExportListType: String, CaseIterable, Identifiable {
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case csv
|
case csv
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case json
|
case json
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case plist
|
case plist
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case yaml
|
case yaml
|
||||||
|
|
||||||
var id: String {
|
var id: String {
|
||||||
|
|
|
@ -6,14 +6,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
enum HelperToolCommandType: String, Codable {
|
enum HelperToolCommandType: String, Codable {
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case remove
|
case remove
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case fileAttributes
|
case fileAttributes
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case installer
|
case installer
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case createinstallmedia
|
case createinstallmedia
|
||||||
// swiftlint:disable:next redundant_string_enum_value
|
|
||||||
case kill
|
case kill
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue