*stickedOperators: remove documentation in preparation of deprecation. #366
Conversation
@mdevils, @markelog now that I've added conditional expression spacing, there is literally no reason people should be using the *stickedOperators utilities. Here's the order of things that will happen.
|
Nice. |
How does one specify that |
@gavacho, requireSpacesInBinaryExpressions. |
We probably should add those rules in the error message, or even not remove the documentation just yet, but add deprecation notice with explanation what rules to use instead, since this question comes up a lot. |
@gavacho @mikesherov I can't find anything about |
@Krinkle yes. |
@mikesherov What about Filed #378. |
We really should add all those binary operators to the test suite |
@Krinkle yes, those are obviously bugs which should be filed as such. |
Strictly speaking they are not bugs, since support for them weren't promised :-) |
@markelog, you think at this point we're good to proceed with this? |
I think so –
Thoughts? |
I believe we should include deprecation notice in the output once for each deprecated rule if it exists in the user config. |
Ok, so it seems like:
|
OK, I'm going to proceed as per my comment on Thursday. |
@mikesherov sounds good to me |
@markelog can you just take a quick look here and see if it makes sense. Please ignore the duplication. I didn't want to sink time into DRYing code that will be removed shortly. |
* output deprecation notice with list of rules to use instead * update documentation
I believe we should throw a warning in StringChecker once for the whole run. |
@mdevils we are then left with the same issue as #334 The problem here is that throwing an error makes sense for CLI tools like grunt and gulp, but for plugins, not as much. For example, the Sublime Text Plugin via SublimeLinter will silently fail if an error is thrown. Same goes for a lot of the other IDE's. Unfortunately, while this should be the plugins responsibility to fix, it's just as easy for us have this be a normal linting error and be gauranteed to not break the world. |
It looks like it does not matter how we go on about it, result still will be unsatisfactory :-(. We need to figure out some way for 2.0 to make a nice output for these kind of messages, given that we probably will have a lot of them.
Of these options, i like the second one (although i don't really like it), i know we should be noisy about this, but removing them is too radical for my taste. |
I'm agree with @mikesherov. Let's not break compatibility with reporters and output an error for every file. |
I didn't purposed to break anything, for me, this scenario is preferable –
But in any case, it's good to move forward. @mikesherov could you release the new version? It would requires you to create |
Ok. Will do. Tomorrow is Father's Day in the US, so I may not have time. If not, I'll release Monday morning. Thanks everyone for coming to a resolution on this! |
No description provided.