Skip to content

Eslint fix#59

Open
loxK wants to merge 2 commits intorotdrop:masterfrom
Gecka-Apps:eslint-fix
Open

Eslint fix#59
loxK wants to merge 2 commits intorotdrop:masterfrom
Gecka-Apps:eslint-fix

Conversation

@loxK
Copy link

@loxK loxK commented Feb 8, 2026

@nextcloud/eslint-config v8 uses @babel/eslint-parser for Vue files,
but this project uses <script setup lang="ts">. Babel cannot parse
TypeScript syntax like "import type", causing build failures.

  • Re-enable https://github.com/nextcloud eslint config extension
  • Add vue-eslint-parser with @typescript-eslint/parser for Vue files
  • Disable func-call-spacing false positive with TypeScript generics
  • Ignore ?raw webpack imports in import/no-unresolved rule

loxK and others added 2 commits February 5, 2026 04:53
@nextcloud/eslint-config v8 uses @babel/eslint-parser for Vue files,
but this project uses <script setup lang="ts">. Babel cannot parse
TypeScript syntax like "import type", causing build failures.

- Re-enable @nextcloud eslint config extension
- Add vue-eslint-parser with @typescript-eslint/parser for Vue files
- Disable func-call-spacing false positive with TypeScript generics
- Ignore ?raw webpack imports in import/no-unresolved rule
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

Successfully merging this pull request may close these issues.

1 participant