-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Consent module doublecall #3399
Consent module doublecall #3399
Conversation
@olafbuitelaar Can you fix the linting errors that were caught in the circleci check? |
@jsnellbaker done..all green now..shouldn't these formattings not being dealt with automatically? |
@olafbuitelaar Thanks for making the updates. If your text editor has a plugin for eslint, it would be captured/handled while your writing the code the changes. Depending on the setup of that plugin, when you save the file - it would automatically fix the linting errors during that save action. Otherwise you'd need to run a |
@jsnellbaker i'm using VS Code with the eslint plugin..maybe something is broken, i'll check it out..maybe have a: gulp format command? just as the beauty of go? |
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.
@olafbuitelaar I did some initial investigating/testing on setting up an auto-fix type option with gulp-eslint
. While there appears to be a flag to fix issues in the eslint
config, it's only applicable to that gulp stream and it doesn't apply force an update to the original source files. It can port the files to a new place, but that's not what we really need.
If you have any ideas to make this work (or can get it working), we'd be happy to accept a PR and can review the implementation/changes.
In terms of this PR, it appears to be working fine.
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.
I was going to recommend removing all format only changes for a cleaner diff, but if @jsnellbaker is good with it, its fine with me.
@idettman thanks. @jsnellbaker just made a PR which appears to work for me. |
* * check if consent hook is already set * * removed debug code * * formatting
new PR for; #3371