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

No autocompletion in .eslintrc.js in a subdirectory with tsconfig.json in take over mode #1283

Closed
segevfiner opened this issue May 10, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@segevfiner
Copy link
Contributor

I have an .eslintrc.js with the following:

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

/** @type {import("eslint").Linter.Config} */
module.exports = {
  root: true,
  extends: [
    "plugin:vue/vue3-essential",
    "eslint:recommended",
    "@vue/eslint-config-typescript/recommended",
    "@vue/eslint-config-prettier",
  ],
  env: {
    "vue/setup-compiler-macros": true,
  },
  ignorePatterns: ["dist/**/*"],
  
};

In a subdirectory with its own tsconfig.json. I get no autocomplete for this file in take over mode, only when using the default TypeScript plugin.

@johnsoncodehk
Copy link
Member

Duplicate of #1147

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1147 Oct 17, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants