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

fix: default(.json -> .js). Disable css usage audit #1911

Merged
merged 5 commits into from Mar 28, 2017
Merged

Conversation

patrickhulce
Copy link
Collaborator

Breaking changes have landed in protocol (currently failing all AppVeyor builds) and we're punting on fixing the accuracy until after IO anyway, just disable for now.

@paulirish
Copy link
Member

this now becomes a disabled audit, though we're keeping it in the source tree for good reasons.

I wonder if theres somewhere else we can clearly indicate it's disabled, as unfortunately commenting out in the default.json isn't a possibility.

how about also changing the audit.meta.name from "unused-css-rules" to "DISABLED__unused-css-rules" or something?

@brendankenny
Copy link
Member

as unfortunately commenting out in the default.json isn't a possibility

Time to git mv default.json default.js? :)

@paulirish
Copy link
Member

Time to git mv default.json default.js? :)

YUP. patrick wants to, too. let's do it.

@patrickhulce
Copy link
Collaborator Author

BOOM! 💥

paulirish added the RlsToStable label 16 minutes ago

wait, @paulirish changing default.js is not compatible with that plan...

@patrickhulce
Copy link
Collaborator Author

i'll cut a separate PR for 1.6.0 branch?

@paulirish paulirish changed the title fix: disable css usage audit fix: default(.json -> .js). Disable css usage audit Mar 27, 2017
This reverts commit 8922e25.
@patrickhulce
Copy link
Collaborator Author

PTAL for added json -> js :)

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM, though maybe we'd want to drop the .js in the require() calls while in here so it doesn't matter what the file extension is?

@patrickhulce patrickhulce merged commit 1708865 into master Mar 28, 2017
@patrickhulce patrickhulce deleted the disable_css branch March 28, 2017 00:29
@patrickhulce
Copy link
Collaborator Author

oh, oops, I literally just merged :) makes it easy to find files requires with grep/simple search though so i'm actually not as jazzed about extension-less requires

@brendankenny
Copy link
Member

fair (though I just saved a regex for that :). Main benefit is that it makes it transparent where the data is coming from (json or from executed code), but since this is the hardcoded default config it doesn't matter

@patrickhulce
Copy link
Collaborator Author

patrickhulce commented Mar 28, 2017 via email

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.

None yet

5 participants