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

feat: Switch to Nuxt v9 ESLint Flat config #33

Merged
merged 1 commit into from
May 16, 2024

Conversation

HugoRCD
Copy link
Owner

@HugoRCD HugoRCD commented May 16, 2024

  • Removed the old .eslintrc file and replaced it with a new eslint.config.mjs file, which includes an override for 'vue/multi-word-component-names' rule.
  • Updated the client check in app.vue to use import.meta.client instead of process.client.
  • Simplified linting commands in package.json and updated ESLint version.
  • Changed imports in sendEmail.ts to use type imports for better TypeScript support.
  • Added an explicit eslint-disable comment in tailwind.config.ts to suppress a TypeScript error.

- Removed the old .eslintrc file and replaced it with a new eslint.config.mjs file, which includes an override for 'vue/multi-word-component-names' rule.
- Updated the client check in app.vue to use import.meta.client instead of process.client.
- Simplified linting commands in package.json and updated ESLint version.
- Changed imports in sendEmail.ts to use type imports for better TypeScript support.
- Added an explicit eslint-disable comment in tailwind.config.ts to suppress a TypeScript error.
@HugoRCD HugoRCD self-assigned this May 16, 2024
@HugoRCD HugoRCD linked an issue May 16, 2024 that may be closed by this pull request
Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
canvas-template 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 16, 2024 11:01am

@HugoRCD HugoRCD merged commit bb58f58 into main May 16, 2024
2 of 3 checks passed
@HugoRCD HugoRCD deleted the 32-switch-to-nuxt-v9-eslint-flat-config branch May 16, 2024 11:01
@HugoRCD HugoRCD added the enhancement New feature or request label May 16, 2024
@HugoRCD HugoRCD changed the title Update ESLint config feat: Switch to Nuxt v9 ESLint Flat config May 16, 2024
Copy link

Thank you for following the naming conventions! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to Nuxt v9 ESLint Flat config
1 participant