Files
drop/eslint.config.mjs
DecDuck e4fbc7cd50 Toggle for showing title & description overlay on store page #51 (#130)
* #51 Adds settings page with showTitleDescriptionOnGamePanel

* Removes console.log

* Renames isHidden to system, adds missing system column on Game and fixes nitro plugin on fresh database

* Implements a different way to handle the placeholder image

* Removes system column on Game

* Groups settings keys together

* Removes unused i18n keys

* fix: fix eslints and other small tweaks

---------

Co-authored-by: Francois Ribemont <ribemont.francois@gmail.com>
2025-07-06 13:13:57 +10:00

33 lines
836 B
JavaScript

// @ts-check
import withNuxt from "./.nuxt/eslint.config.mjs";
import eslintConfigPrettier from "eslint-config-prettier/flat";
import vueI18n from "@intlify/eslint-plugin-vue-i18n";
export default withNuxt([
eslintConfigPrettier,
// vue-i18n plugin
...vueI18n.configs.recommended,
{
rules: {
// Optional.
"@intlify/vue-i18n/no-dynamic-keys": "error",
"@intlify/vue-i18n/no-unused-keys": [
"off",
{
extensions: [".js", ".vue", ".ts"],
},
],
},
settings: {
"vue-i18n": {
localeDir: "./i18n/locales/*.{json,json5,ts,js}", // extension is glob formatting!
// Specify the version of `vue-i18n` you are using.
// If not specified, the message will be parsed twice.
messageSyntaxVersion: "^11.0.0",
},
},
},
]);