Skip to content

Add Swift 2.2 support + Fix Swift Linter warnings #18

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

Merged
merged 4 commits into from
Mar 28, 2016

Conversation

Jeehut
Copy link
Collaborator

@Jeehut Jeehut commented Mar 28, 2016

This fixes Swift 2.2 deprecations warnings (improving compatibility with Swift 3) and also fixes all Swift Linter warnings by configuring it and fixing many warnings in code. See the detailed commit descriptions for additional information.

Jeehut added 4 commits March 28, 2016 13:21
This disables unnecessary rules like `trailing_newline`, also it
disables `valid_docs` for pragmatic reasons: A lot of lines are
documented but their documentation isn't complete. This
option should be reverted sometime but I'm disabling it for the
moment to fix all warnings and come to a clean slate.

On the other hand this enables the rules `empty_count` and
`missing_docs`. This helps even improve documentation
although the `valid_docs` is turned off.
This commit fixes many warnings Swift Linter shows
when `valid_docs` is turned on – but not all which is
why it's kept in disabled mode. Also this refactors
the FileSystemEvent file by splitting it up into three
files. Otherwise the Swift Linter shows a warning
because the files has too many files.
@nvzqz nvzqz merged commit 020e322 into nvzqz:develop Mar 28, 2016
@nvzqz
Copy link
Owner

nvzqz commented Mar 28, 2016

Thanks for all of the useful contributions and keeping things up to date!

@uny uny mentioned this pull request Apr 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants