-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dump update #15
base: master
Are you sure you want to change the base?
Dump update #15
Conversation
.prettierignore
Outdated
@@ -0,0 +1,3 @@ | |||
app.js | |||
theme.min.css | |||
theme.min.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing empty line
@@ -0,0 +1,10 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a prettier runner in grunt. it's not all IDE that will parse and correct the files and our stack should be IDE independent.
snippets/js-modules.liquid
Outdated
{{ 'load-more.js' | asset_url | script_tag }} | ||
{{ 'locales.js' | asset_url | script_tag }} | ||
{{ 'gift-card.js' | asset_url | script_tag }} | ||
<script src="http://localhost:35729/livereload.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line
@@ -1,20 +0,0 @@ | |||
module.exports = (grunt) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
complexity needs to stay.
"grunt-babel": "^8.0.0", | ||
"grunt-complexity": "^1.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it need to stay.
Gruntfile.js
Outdated
|
||
grunt.registerTask('dev-js', ['complexity', 'jshint']); | ||
grunt.registerTask('dev-js', ['jshint']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please re-add complexity.
tasks/libs.js
Outdated
grunt.log.error(`Error while fetching ${lib}`); | ||
} | ||
} catch (err) { | ||
console.log(err.message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grunt.log.error please.
@f-elix can you fix the conflicts so we can merge ? |
app.js
versionjs.liquid
and put them in a separate file so that jshint doesn't run onapp,js
site.css
andmain.css
theme.liquid