Skip to content

Definition for rule 'es/no-string-prototype-replaceall' was not found #65

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

Open
ceisele-r opened this issue Apr 7, 2021 · 6 comments
Open

Comments

@ceisele-r
Copy link

When trying to use only the "es/no-string-prototype-replaceall": "error" rule, eslint reports that this rule is not available:
Definition for rule 'es/no-string-prototype-replaceall' was not found

.eslintrc.json:

{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2021,
    "sourceType": "module",
    "project": "./tsconfig.json"
  },
  "plugins": ["@typescript-eslint", "es",
  "rules": {
    "es/no-string-prototype-replaceall": "error"
  }
}

I'm using "eslint-plugin-es": "^4.1.0",

When, as a test, using es/no-async-iteration instead of the replaceall rule, it works.

Is there anything else I need to configure to make checks only for this rule work?

@ceisele-r
Copy link
Author

Ah, I just saw this is not yet included in the 4.1.0 release.

Would it be possible to create a new release that contains these rules?

@chrigi
Copy link

chrigi commented May 20, 2021

Same issue with es/no-string-prototype-matchall would be great to get a release which includes those in a new release, the docs on the webpage suggest that they are already useable.

@maxclaus
Copy link

While that is not released I have installed it directly from GitHub instead of NPM.

@Alonkad
Copy link

Alonkad commented Jul 28, 2021

es/no-array-prototype-flat is also missing from the index file and can't be consumed...

@helloint
Copy link

helloint commented Sep 1, 2021

The document introduced the support for ES2021 but these feature are not released...

@ChrisWiles
Copy link

a year later and still hasn't been released 😐

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

No branches or pull requests

6 participants