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
Deprecate createRuleTester API #4265
Deprecate createRuleTester API #4265
Conversation
I'm marking it as blocked, until we resolve #4267 :) |
|
||
module.exports = deprecate( | ||
createRuleTester, | ||
"createRuleTester deprecated, please use https://github.com/stylelint/jest-preset-stylelint instead" |
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.
"createRuleTester deprecated, please use https://github.com/stylelint/jest-preset-stylelint instead" | |
"createRuleTester deprecated. See https://github.com/stylelint/stylelint/issues/4267" |
jest-preset-stylelint
is not ready to be used. So it's better to point to discussion instead.
@@ -32,7 +31,6 @@ api.lint = standalone; | |||
api.rules = requiredRules; | |||
api.formatters = formatters; | |||
api.createPlugin = createPlugin; | |||
api.createRuleTester = createRuleTester; |
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.
We need to put this back, as we discussed in #4267. We'll only deprecate this API in the following release.
Superseded by #4279 |
related to #2454
loading this module cost to much https://gist.github.com/vankop/f83bdeda2cae617b4a801d8e210454ef
Suggest developers to load
~/lib/testUtils/createRuleTester
directly if needednothing