mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 15:54:03 +01:00
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:
@@ -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,
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user