diff --git a/.gitattributes b/.gitattributes index 71b25de5fe..ba5608836c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,7 +15,8 @@ *.json text *.jelly text *.jellytag text -*.less text +# JENKINS-68887: postcss-less fails to properly parse .less files with Windows line breaks +*.less text eol=lf *.properties text *.rb text *.sh text diff --git a/war/.stylelintrc.js b/war/.stylelintrc.js index 0adfd78e3b..818e102c38 100644 --- a/war/.stylelintrc.js +++ b/war/.stylelintrc.js @@ -1,7 +1,8 @@ module.exports = { extends: "stylelint-config-standard", rules: { - indentation: null + indentation: null, + linebreaks: "unix" }, // Keeps the default level to warn to avoid breaking the current // CI build environment