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

Added exceptMethods and additionalMethods options to no-es6-methods #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skyway777
Copy link

@skyway777 skyway777 commented Jun 26, 2020

This PR adds the ability to ban extra array or string functions (like flat, filter, etc).
And also, the ability to exclude some methods, like find, for example, if you don't want to see errors or warnings for your jQuery variables that don't have a name including $ sign (another way to avoid #12).

EricDunsworth added a commit to EricDunsworth/wet-boew that referenced this pull request Aug 30, 2021
* Set ESLint's environment to ES6 to prevent let/const/Map from triggering errors
* Use eslint-plugin-es5 to disallow most of ES6's other features
  * Relies on a fork (nkt/eslint-plugin-es5#39) to exempt jQuery's find() method
* Use eslint-plugin-ie11 to detect unsupported use cases in IE11
* Related to wet-boew#9146
EricDunsworth added a commit to EricDunsworth/wet-boew that referenced this pull request Aug 30, 2021
* Set ESLint's environment to ES6 to prevent let/const/Map from triggering errors
* Use eslint-plugin-es5 to disallow most of ES6's other features
  * Relies on a fork (nkt/eslint-plugin-es5#39) to exempt jQuery's find() method
    * The exemption also covers ES6's native find() methods (which are unsupported by IE11...)
* Use eslint-plugin-ie11 to detect unsupported use cases in IE11
* Related to wet-boew#9146
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

1 participant