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

ESLint: Parsing error: DeprecationError: 'originalkeywordkind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind (identifier)' instead. #77

Open
Bohilc opened this issue Jun 7, 2024 · 0 comments

Comments

@Bohilc
Copy link

Bohilc commented Jun 7, 2024

Problem:

image

Environment:

IDE: WebStorm
Config file: .eslintrc.cjs
Framework: Vue 3

/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
  root: true,
  extends: [
    "plugin:vue/vue3-essential",
    "eslint:recommended",
    "@vue/eslint-config-typescript/recommended", // <- HERE THE PROBLEM
    "@vue/eslint-config-prettier",
  ],
  overrides: [
    {
      files: ["cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}"],
      extends: ["plugin:cypress/recommended"],
    },
  ],
  parserOptions: {
    ecmaVersion: "latest",
  },
};

Solution suggestion:

Use identifier ToKeywordKind(identifier) instead of originalKeywordKind

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

1 participant