Skip to content

Commit

Permalink
chore: code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed Aug 7, 2019
1 parent 5932fe9 commit 15ae2ad
Show file tree
Hide file tree
Showing 8 changed files with 351 additions and 165 deletions.
17 changes: 9 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
// jshint node:true

module.exports = function ( grunt ) {
module.exports = function(grunt) {
'use strict';

var loader = require( 'load-project-config' ),
config = require( 'grunt-theme-fleet' );
config = require( 'grunt-theme-fleet' );
config = config();

config.files.php.push( '!**/node_modules/**/*' );
config.files.js.push( '!**/node_modules/**/*' );
config.files.js.push( '!assets/js/gutenberg-preview-manager.js' );
config.files.js.push( '!assets/js/*.js' );
config.files.js.push( '!assets/js/frontend.js' );
config.files.js.push( '!grunt/**/*' );

config.files.js.push( '!**/vendor/**/*' );
config.files.js.push( '!header-footer-grid/assets/js/**/*' );
config.files.js.push( '!**/rollup.config.js' );
config.files.js.push( '!assets/js/gutenberg-preview-manager.js' );

config.files.php.push( '!**/node_modules/**/*' );
config.files.php.push( '!**/vendor/**/*' );
config.files.css.push( '!**/vendor/**/*' );

config.files.js.push( '!header-footer-grid/assets/js/**/*' );
config.files.js.push( '!header-footer-grid/rollup.config.js' );
config.files.css.push( '!**/vendor/**/*' );
//Task mapping.
config.taskMap.sass = 'grunt-contrib-sass';
config.taskMap.watch = 'grunt-contrib-watch';
Expand Down
2 changes: 1 addition & 1 deletion assets/js/frontend.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/gutenberg-preview-manager.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/shop.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/src/frontend/hgf.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* jshint esversion: 6 */
import {
addEvent,
toggleClass,
Expand Down
1 change: 0 additions & 1 deletion grunt/aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ buildScripts:
check:
- 'sass:style'
- 'concat:customizerStyle'
- 'sass:min'
- 'uglify:scripts'
- 'uglify:customizerControls'
#- 'postcss'
Expand Down
Loading

0 comments on commit 15ae2ad

Please sign in to comment.