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

Comments

Projects
None yet
2 participants
@bartzy

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

This comment has been minimized.

Show comment
Hide comment
@marcelofabri

marcelofabri Jun 29, 2017

Collaborator

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

Collaborator

marcelofabri commented Jun 29, 2017

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

@bartzy

This comment has been minimized.

Show comment
Hide comment
@bartzy

bartzy 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 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

This comment has been minimized.

Show comment
Hide comment
@bartzy

bartzy commented Jul 28, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment