mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
* #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>
33 lines
836 B
JavaScript
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",
|
|
},
|
|
},
|
|
},
|
|
]);
|