diff --git a/app/models/hound_config.rb b/app/models/hound_config.rb index 2c0c0c754..99ac8cfad 100644 --- a/app/models/hound_config.rb +++ b/app/models/hound_config.rb @@ -6,7 +6,6 @@ class HoundConfig jshint mdast python - swift ) LANGUAGES = %w( coffeescript diff --git a/app/views/pages/configuration.haml b/app/views/pages/configuration.haml index c698eef02..8246db0a7 100644 --- a/app/views/pages/configuration.haml +++ b/app/views/pages/configuration.haml @@ -400,17 +400,8 @@ config_file: .flake8.ini %article#swift - %h3 Swift (beta) + %h3 Swift - %p - Add the following code to your - %em.code .hound.yml - to enable Swift style checking. - - %code.code-block - :preserve - swift: - enabled: true %p Hound uses = link_to "SwiftLint", @@ -429,9 +420,19 @@ %code.code-block :preserve swift: - enabled: true config_file: .swiftlint.yml + %p + If you would like to disable Swift style checking, + add the following code to your + %em.code .hound.yml + file. + + %code.code-block + :preserve + swift: + enabled: false + %p For more information on the available configuration in your %em.code config_file