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

Minor tweaks and cleanup #822

Merged
merged 4 commits into from
Oct 12, 2021
Merged

Minor tweaks and cleanup #822

merged 4 commits into from
Oct 12, 2021

Conversation

XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR commented Oct 6, 2021

  • enable strict mode (these aren't modules)
  • use a template literal for the missing compiler message
  • move variables where we use them
  • disable a few ESLint rules
  • move ESLint overrides around

Non-whitespace diff is cleaner: https://github.com/dlmanning/gulp-sass/pull/822/files?w=1

index.js Outdated Show resolved Hide resolved
.eslintrc Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@XhmikosR XhmikosR changed the title Minor cosmetic changes and ESLint rules cleanup Minor tweaks and cleanup Oct 6, 2021
@XhmikosR XhmikosR marked this pull request as ready for review October 7, 2021 04:00
@XhmikosR
Copy link
Contributor Author

XhmikosR commented Oct 7, 2021

I'm going to move the other changes to separate PRs so that's easier to review :)

@xzyfer
Copy link
Collaborator

xzyfer commented Oct 7, 2021 via email

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Oct 7, 2021

I see your point, totally, but all I'm trying to do is to only make the code simpler for the future.

And since I've already done most of the changes, it'd be a pity to not land them :)

* enable strict mode (these aren't modules)
* use a template literal for the missing compiler message
* move variables where we use them
* disable a few ESLint rules
* move ESLint overrides around
Copy link
Collaborator

@xzyfer xzyfer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you all your work! I'll merge this when I'm able to cut a release.

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Oct 8, 2021

Are you OK with landing this and this too? I just move the functions outside for better organization and renamed a few variables.

@xzyfer
Copy link
Collaborator

xzyfer commented Oct 8, 2021

Sure. I'll take a closer look when they're in a PR before merging.

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Oct 8, 2021

They depend on this PR, should I push them here as separate patches and you squash when merging?

@xzyfer
Copy link
Collaborator

xzyfer commented Oct 8, 2021 via email

@xzyfer
Copy link
Collaborator

xzyfer commented Oct 12, 2021

Thanks!

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