Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having any (non-deprecated) opening_brace option in .swiftlint.yml triggers deprecation warning #5791

Closed
2 tasks done
florianschulz opened this issue Sep 12, 2024 · 0 comments · Fixed by #5792
Closed
2 tasks done

Comments

@florianschulz
Copy link

New Issue Checklist

Bug Description

If you include any opening_brace option in .swiftlint.yml, a warning is emitted right at the beginning of swiftlint's output:

% swiftlint
warning: Configuration option 'allow_multiline_func' in 'opening_brace' rule is deprecated. Use the option 'ignore_multiline_function_signatures' instead.
Linting Swift files in current working directory
Linting 'SwiftLintDemoApp.swift' (1/2)
Linting 'ContentView.swift' (2/2)
Done linting! Found 0 violations, 0 serious in 2 files.

Environment

  • SwiftLint version 0.57.0
  • Installation method used: Homebrew
  • Example configuration file:
opening_brace:
  ignore_multiline_statement_conditions: true
  ignore_multiline_function_signatures: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant