link to prettier meta topic

This commit is contained in:
Joffrey JAFFEUX 2018-07-26 10:28:30 -04:00 committed by GitHub
parent 65a68e4d4d
commit a790c00691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ end
prettier_offenses = `prettier --list-different "app/assets/stylesheets/**/*.scss" "app/assets/javascripts/**/*.es6" "test/javascripts/**/*.es6"`.split('\n')
if !prettier_offenses.empty?
fail(%{
This PR has multiple prettier offenses (prettier.io). We recommend configuring prettier linting in your editor:\n
This PR has multiple prettier offenses. We recommend configuring prettier linting in your editor: https://meta.discourse.org/t/prettier-code-formatting-tool/93212\n
#{prettier_offenses.join("\n")}
})
end