Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Dump update #15

wants to merge 8 commits into from

Conversation

f-elix
Copy link
Contributor

@f-elix f-elix commented May 4, 2021

  • Added .prettierrc and .prettierignore files (will add grunt task later)
  • Setup jit mode for tailwind
  • Added latest app.js version
  • Took out modules from js.liquid and put them in a separate file so that jshint doesn't run on app,js
  • Updated tailwind config
  • Updated site.css and main.css
  • Updated theme.liquid

@f-elix f-elix requested a review from fhamon May 4, 2021 19:32
.prettierignore Outdated
@@ -0,0 +1,3 @@
app.js
theme.min.css
theme.min.js
Copy link

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 @@
{
Copy link

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.

{{ '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>
Copy link

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) => {
Copy link

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",
Copy link

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']);
Copy link

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);
Copy link

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 f-elix requested a review from fhamon May 5, 2021 12:42
@fhamon
Copy link

fhamon commented May 16, 2021

@f-elix can you fix the conflicts so we can merge ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants