mirror of
https://github.com/sindresorhus/touch-bar-simulator
synced 2024-12-11 21:12:31 +00:00
Update SwiftLint rules
This commit is contained in:
parent
3e124872f0
commit
c37349fe3e
2 changed files with 22 additions and 1 deletions
|
@ -55,9 +55,30 @@ opt_in_rules:
|
|||
- anyobject_protocol
|
||||
- redundant_type_annotation
|
||||
- no_extension_access_modifier
|
||||
- legacy_random
|
||||
- toggle_bool
|
||||
- identical_operands
|
||||
- collection_alignment
|
||||
- static_operator
|
||||
- multiline_literal_brackets
|
||||
- multiline_parameters_brackets
|
||||
- vertical_whitespace_opening_braces
|
||||
- vertical_whitespace_closing_braces
|
||||
- legacy_hashing
|
||||
- object_literal
|
||||
- last_where
|
||||
- unused_control_flow_label
|
||||
- strong_iboutlet
|
||||
analyzer_rules:
|
||||
- unused_import
|
||||
- unused_private_declaration
|
||||
force_cast: warning
|
||||
force_unwrapping: warning
|
||||
number_separator:
|
||||
minimum_length: 5
|
||||
object_literal:
|
||||
image_literal: false
|
||||
discouraged_object_literal:
|
||||
color_literal: false
|
||||
excluded:
|
||||
- Carthage
|
||||
|
|
|
@ -132,11 +132,11 @@
|
|||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = E3FE2CCC1E726CE800C6713A /* Build configuration list for PBXNativeTarget "Touch Bar Simulator" */;
|
||||
buildPhases = (
|
||||
E3679C9A215A1ECA0080270F /* SwiftLint */,
|
||||
E3FE2CBB1E726CE800C6713A /* Sources */,
|
||||
E3FE2CBC1E726CE800C6713A /* Frameworks */,
|
||||
E3FE2CBD1E726CE800C6713A /* Resources */,
|
||||
E3FA3A901E784C5F00A7F2EA /* Embed Frameworks */,
|
||||
E3679C9A215A1ECA0080270F /* SwiftLint */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue