CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

SwiftLint enable `attributes` rule

Open 0xWDG opened this issue 2 years ago • 0 comments

Enabled SwiftLint attributes rule.

Description

https://realm.github.io/SwiftLint/attributes.html

Attributes

Attributes should be on their own lines in functions and types, but on the same line as variables and imports

Identifier: attributes Enabled by default: No Supports autocorrection: No Kind: style Analyzer rule: No Minimum Swift compiler version: 5.0.0 Default configuration: severity: warning, always_on_same_line: [“@IBAction”, “@NSManaged”], always_on_line_above: []

Related Issues

N/A

Checklist

  • [x] I read and understood the contributing guide as well as the code of conduct
  • [x] The issues this PR addresses are related to each other (N/A)
  • [x] My changes generate no new warnings
  • [x] My code builds and runs on my machine
  • [x] My changes are all related to the related issue above
  • [x] I documented my code (N/A)

Screenshots

N/A

0xWDG avatar Jun 19 '23 18:06 0xWDG