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

Allow ignoring entire files for component annotations #648

Open
0Calories opened this issue Jan 8, 2025 · 0 comments
Open

Allow ignoring entire files for component annotations #648

0Calories opened this issue Jan 8, 2025 · 0 comments

Comments

@0Calories
Copy link
Member

In PR #617, we introduced a config to allow skipping annotations on certain components by providing their names. It would be nice to also have a config option that allows you to set specific files that should have no annotations applied. This is useful in the case where a specific file is known to have several components that are incompatible with the plugin, and you don't want to have to list every single component name in the configs

{
      name: "ignoredFiles",
      type: "string[]",
      fullDescription:
      "A list of strings representing local paths to files to ignore. The plugin will not perform any annotations on components in these files.",
      supportedBundlers: ["webpack", "vite", "rollup"],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant