Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Provide autocomplete for certain modules #386

@rushiiMachine

Description

@rushiiMachine

I'm trying to get autocomplete for discord.js however with this config it doesn't work
I assume the dontLoad overrides the loadEagerly however i dont want autocomplete for all the packages if its expensive

{
  "ecmaVersion": 8,
  "libs": [],
  "loadEagerly": [
    "node_modules/discord.js/src/index.js"
  ],
  "dontLoad": [
    "node_modules/**"
  ],
  "plugins": {
    "es_modules": {},
    "node": {},
    "doc_comment": {
      "fullDocs": true,
      "strong": true
    }
  }
}

Removing both paths in loadEagerly and dontLoad makes it work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions