townsquare/eslint.config.js
Pingumask 67ff3ddf6a Upgrade node to 22, bundle with vite
Updated docker compose for --watch usage
2024-12-09 22:26:20 +01:00

22 lines
472 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
es2022: true,
browser: true,
},
extends: [
"plugin:vue/essential",
"eslint:recommended",
"@vue/prettier"
],
parserOptions: {
ecmaVersion: 2022,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? 1 : 0,
"no-debugger": process.env.NODE_ENV === "production" ? 1 : 0,
"vue/multi-word-component-names": 0,
"vue/no-reserved-component-names": 0,
},
};