{ "extends": [ "apostrophe", "plugin:vue/vue3-recommended" ], "env": { "mocha": true }, "globals": { "apos": true }, "rules": { "no-var": "error", "no-console": 0, "vue/no-deprecated-v-on-native-modifier": 0, "multiline-ternary": "off", "no-unused-vars": [ "error", { "varsIgnorePattern": "^_.", "args": "none" } ], "vue/no-deprecated-destroyed-lifecycle": 0, "vue/v-on-event-hyphenation": 1, "vue/custom-event-name-casing": ["warn", "kebab-case"], "vue/component-tags-order": [ "warn", { "order": [ "template", "script", "style" ] } ], "vue/max-attributes-per-line": [ "warn", { "singleline": 2 } ], "vue/singleline-html-element-content-newline": [ "warn", { "ignoreWhenNoAttributes": true, "ignoreWhenEmpty": true, "ignores": [ "h1", "h2", "h3", "pre", "textarea" ] } ] }, "overrides": [ { "files": "*.vue", "globals": { "defineProps": "readable", "defineEmits": "readable", "defineExpose": "readable", "defineOptions": "readable", "defineModel": "readable", "defineSlots": "readable" } }, { "files": [ "**/ui/**/*.js" ], "globals": { "apos": true }, "env": { "browser": true } }, { "files": [ "**/ui/public/*.js" ], "globals": { "apos": true }, "env": { "browser": true }, "rules": { "no-var": 0 } } ], "parser": "vue-eslint-parser", "parserOptions": { "parser": "@babel/eslint-parser", "sourceType": "module", "requireConfigFile": false } }