We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-empty-files
The rule no-empty-files triggers false positives for .d.ts modules that contain only triple-slash directives.
.d.ts
This is used, for example, by vite in lieu of compilerOptions.types in jsconfig.json or tsconfig.json (ref)
compilerOptions.types
jsconfig.json
tsconfig.json
Example:
/// <reference types="svelte" /> /// <reference types="vite/client" />
The text was updated successfully, but these errors were encountered:
/cc @manovotny
Sorry, something went wrong.
Awesome catch! I'll check it out.
no-empty-file
@fisker PR submitted (#1605). Let me know what you think!
Successfully merging a pull request may close this issue.
The rule
no-empty-files
triggers false positives for.d.ts
modules that contain only triple-slash directives.This is used, for example, by vite in lieu of
compilerOptions.types
injsconfig.json
ortsconfig.json
(ref)Example:
The text was updated successfully, but these errors were encountered: