diff --git a/packages/larva/scripts/build-html.js b/packages/larva/scripts/build-html.js
index 0971ed81f..1f2d93381 100644
--- a/packages/larva/scripts/build-html.js
+++ b/packages/larva/scripts/build-html.js
@@ -52,6 +52,7 @@ generateStatic(
// TODO: copy assets into build path
// copy assets from larva package to static
// copy assets from project to assets
+ // eslint-disable-next-line no-console
console.log( message );
},
urlBase
diff --git a/packages/larva/scripts/build-icons.js b/packages/larva/scripts/build-icons.js
index edf9c09a6..6fd937203 100644
--- a/packages/larva/scripts/build-icons.js
+++ b/packages/larva/scripts/build-icons.js
@@ -49,6 +49,7 @@ const svgFiles = globby.sync( [ larvaIconsPath, projectIconsPath ], {
// TODO: unfinished feature
// let scssIcons = {};
+// eslint-disable-next-line no-console
console.log(
`Looking for icon SVGs in ${ path.relative(
process.cwd(),
@@ -68,6 +69,7 @@ svgFiles.forEach( ( file ) => {
);
} );
+// eslint-disable-next-line no-console
console.log( 'Building SVG icon sprite...' );
// Write the Sass variables.
@@ -75,7 +77,7 @@ console.log( 'Building SVG icon sprite...' );
// fs.writeFileSync( path.join( process.cwd(), './build/a-icon-svg.scss' ), getSassVarsString( scssIcons ) );
// Compile the sprite
-spriter.compile( function ( error, result, cssData ) {
+spriter.compile( function ( error, result ) {
// Run through all configured output modes
for ( const mode in result ) {
// Run through all created resources and write them to disk
@@ -88,5 +90,6 @@ spriter.compile( function ( error, result, cssData ) {
}
}
+ // eslint-disable-next-line no-console
console.log( 'Completed building SVG icon sprite.' );
} );
diff --git a/packages/larva/scripts/config/gulpfile.js b/packages/larva/scripts/config/gulpfile.js
index ea74fd246..0c75913fd 100644
--- a/packages/larva/scripts/config/gulpfile.js
+++ b/packages/larva/scripts/config/gulpfile.js
@@ -124,7 +124,7 @@ const composeTask = ( done, generateImportantVariants = false ) => {
*
* @param {Object} style PostCSS Root object for current CSS.
* @param {Object} result PostCSS Result object containing transformed CSS.
- * @return {Result} PostCSS Result object.
+ * @return {Object} PostCSS Result object.
*/
const declareImportanceForAll = ( style, result ) => {
const root = postCss.parse( style );
diff --git a/packages/larva/scripts/config/webpack.config.js b/packages/larva/scripts/config/webpack.config.js
index 97ca4d18e..12756a9cb 100644
--- a/packages/larva/scripts/config/webpack.config.js
+++ b/packages/larva/scripts/config/webpack.config.js
@@ -84,6 +84,7 @@ module.exports = ( env, argv ) => {
}
if ( 'production' === argv.mode ) {
+ // eslint-disable-next-line no-console
console.log( 'Building Prod JS..' );
config.module.rules = ( config.module.rules || [] ).concat( [