// eslint.config.mjs import prettierPlugin from 'eslint-plugin-prettier'; import html from 'eslint-plugin-html'; export default [ { files: ['**/*.js', '**/*.vue', '**/*.html'], // Adjust as needed ignores: ['**/node_modules/**', '**/dist/**', '**/prod/**'], languageOptions: { ecmaVersion: 2021, sourceType: 'module', globals: { // Common for Roll20 project console: false, on: false, process: false, randomInteger: false, getSectionIDs: false, getTranslationByKey: false, getAttrs: false, setAttrs: false, removeRepeatingRow: false, generateRowID: false, setDefaultToken: false, filterObjs: false, sendChat: false, getObj: false, getAttrByName: false, startRoll: false, finishRoll: false, getActiveCharacterId: false, $20: false, _: false, }, }, plugins: { prettier: prettierPlugin, html, }, settings: { 'html/javascript-mime-types': ['text/javascript', 'text/worker'], 'html/html-extensions': ['.html', '.htm'], 'html/indent': '+2', // indentation is the