diff --git a/.eslintignore b/.eslintignore index 0d0a6eab582..5eac74d3c89 100644 --- a/.eslintignore +++ b/.eslintignore @@ -92,4 +92,4 @@ theme/boost/amd/src/bootstrap/tab.js theme/boost/amd/src/bootstrap/toast.js theme/boost/amd/src/bootstrap/tooltip.js theme/boost/amd/src/bootstrap/util.js -theme/boost/scss/fontawesome/ \ No newline at end of file +theme/boost/scss/fontawesome/ diff --git a/.stylelintignore b/.stylelintignore index 0207e41679f..9e06dcf7b5c 100644 --- a/.stylelintignore +++ b/.stylelintignore @@ -93,4 +93,4 @@ theme/boost/amd/src/bootstrap/tab.js theme/boost/amd/src/bootstrap/toast.js theme/boost/amd/src/bootstrap/tooltip.js theme/boost/amd/src/bootstrap/util.js -theme/boost/scss/fontawesome/ \ No newline at end of file +theme/boost/scss/fontawesome/ diff --git a/Gruntfile.js b/Gruntfile.js index a7b728feaba..58b1de74de4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -424,7 +424,7 @@ module.exports = function(grunt) { '*/**/yui/src/*/meta/', '*/**/build/', ].concat(thirdPartyPaths); - grunt.file.write('.eslintignore', eslintIgnores.join('\n')); + grunt.file.write('.eslintignore', eslintIgnores.join('\n') + '\n'); // Generate .stylelintignore. const stylelintIgnores = [ @@ -433,7 +433,7 @@ module.exports = function(grunt) { 'theme/boost/style/moodle.css', 'theme/classic/style/moodle.css', ].concat(thirdPartyPaths); - grunt.file.write('.stylelintignore', stylelintIgnores.join('\n')); + grunt.file.write('.stylelintignore', stylelintIgnores.join('\n') + '\n'); }; /**