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

Set file_length rule only as warning, but still set custom length value #1647

Closed
bartzy opened this issue Jun 29, 2017 · 3 comments
Closed
Labels

Comments

@bartzy
Copy link

bartzy commented Jun 29, 2017

Hi,

I want to enable the file_length rule only as a warning, but still set a custom length value for it.
I tried several options but none worked.

Thanks!

@marcelofabri
Copy link
Collaborator

@bartzy have you tried setting the error limit to null?

@bartzy
Copy link
Author

bartzy commented Jun 29, 2017

@marcelofabri
Yes, and then I get this output at the beginning of swiftlint:

Loading configuration from '.swiftlint.yml'
Invalid configuration for 'file_length'. Falling back to default.

@bartzy
Copy link
Author

bartzy commented Jul 28, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants