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

Performing unnecessary formatting inside .min file types #440

Closed
Saif03 opened this Issue Apr 23, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@Saif03

Saif03 commented Apr 23, 2017

Environment

  • Visual Studio version: 2015 Community
  • CodeMaid version: 10.3
  • Code language: ASP.Net

Description

I believe CodeMaid should not alter the spacing(s) inside .min file types by default; so they can continue to serve their purpose of staying maximum minified. I didn't knew (by default) it would go on and alter them.

To avoid this in the future I tried adding an exception for *.min.css$ and *.min.js$ file types in the exception list. But that generates some error "parsing *.min.js$ - Quantifier {x,y} following nothing."

What would be the proper exception ? and for the betterment of others this behavior should be added by default.

codecadwallader added a commit that referenced this issue Apr 24, 2017

@codecadwallader

This comment has been minimized.

Owner

codecadwallader commented Apr 24, 2017

Thanks for the suggestion. I agree that minimized files should not be cleaned. The following two expressions worked for me:

\.min\.css$
\.min\.js$

I have updated the defaults and it will be present in the next release. Thanks again for highlighting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment