wikimedia / eslint-plugin-no-jquery

Control allowance of certain jQuery functions, and suggest or autofix alternatives.
MIT License
32 stars 8 forks source link

Improve messages references instance methods vs static methods #103

Closed stof closed 4 years ago

stof commented 4 years ago

The common convention is to use # to talk about instance methods (replacing .prototype.) and . for static methods (as that's the way they are referenced in JS). Many rules were already following that convention in their messages, but a few of them were messing that. This PR fixes this.

edg2s commented 4 years ago

Thanks for this, although I already cleaned these up in #94 while adding the documentation builder.

edg2s commented 4 years ago

Looks like there are still some changes after rebasing, so re-opening