refactor: update ESLint configuration and remove unused dependencies

- Replaced Nuxt ESLint configuration with Antfu's ESLint config.
- Removed 'nuxt-visitors' module from Nuxt configuration.
- Added linting scripts to package.json for easier code quality checks.
- Introduced a new API endpoint for fetching weather data from OpenWeather.
- Enhanced chat types with new enums and properties for better state management.
- Added OpenWeather response types for improved type safety.
- Updated social links in types/index.ts to include an email contact.
This commit is contained in:
2025-09-02 17:45:01 +02:00
parent 05963bb605
commit 3fa4f574d3
22 changed files with 1032 additions and 279 deletions

View File

@@ -23,13 +23,11 @@ export default defineNuxtConfig({
'@vueuse/nuxt',
'@nuxtjs/google-fonts',
'@nuxt/image',
'nuxt-visitors',
'motion-v/nuxt',
'@pinia/nuxt',
'@nuxtjs/i18n',
],
// Nuxt Content
content: {
preview: {
@@ -124,16 +122,13 @@ export default defineNuxtConfig({
languages: '',
os: '',
},
openWeather: {
apiKey: '',
},
public: {
i18n: {
baseUrl: '',
},
},
},
// Nuxt Visitors
visitors: {
// Set to true to enable tracking of visitor locations
locations: true,
},
})
})