MDL-71365 grunt: fix boost ignores order and missing LF @ EOF

This commit is contained in:
Eloy Lafuente (stronk7)
2021-04-18 00:10:46 +02:00
parent 0fd37bf5d8
commit 2d287b8adf
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ module.exports = 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 = [
@@ -50,7 +50,7 @@ module.exports = 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');
};
grunt.registerTask('ignorefiles', 'Generate ignore files for linters', handler);
+7 -7
View File
@@ -41,13 +41,6 @@
<license>(MIT)</license>
<version>v4.6.0</version>
<licenseversion></licenseversion>
</library>
<library>
<location>amd/src/index.js</location>
<name>bootstrap-util</name>
<license>(MIT)</license>
<version>v4.6.0</version>
<licenseversion></licenseversion>
</library>
<library>
<location>amd/src/bootstrap/modal.js</location>
@@ -105,6 +98,13 @@
<version>v4.6.0</version>
<licenseversion></licenseversion>
</library>
<library>
<location>amd/src/index.js</location>
<name>bootstrap-util</name>
<license>(MIT)</license>
<version>v4.6.0</version>
<licenseversion></licenseversion>
</library>
<library>
<location>scss/fontawesome</location>
<name>Font Awesome by Dave Gandy - http://fontawesome.io</name>