Swiftlint: Why .swiftlint.yml is hidden?

Created on 20 Jan 2017  路  3Comments  路  Source: realm/SwiftLint

Hi! I tried to install Swiftlint. Can you tell me, please, how I should correctly create .swiftlint.yml in my project folder?
I downloaded .swiftlint.yml from github repo, but it's hidden and should I add this file in my project?

question

All 3 comments

No need to add the configuration file to your project. You can see it on the terminal by typing ls -las.

Why .swiftlint.yml is hidden?

That's a great question! We simply followed the convention of having application-specific configuration files be hidden, just as .gitignore, .travis.yml and other commonly used tools. Not all services/tools choose to follow this convention though, such as circle.yml, but those seem to be outliers.

Closing assuming we answered your question to your satisfaction. Feel free to reopen if you feel otherwise.

Was this page helpful?
0 / 5 - 0 ratings