formatting and linting work

This commit is contained in:
counterweight 2025-02-14 12:09:21 +01:00
parent c02cf8c12e
commit 3b39d8cf08
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
8 changed files with 290 additions and 323 deletions

View file

@ -6,14 +6,17 @@
},
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": false,
"trailingComma": "es5"
"prettier/prettier": "error",
"no-console": "warn",
"no-unused-vars": "off"
},
"plugins": ["prettier"],
"overrides": [
{
"files": ["src/public/javascript/*.js"],
"rules": {
"no-unused-vars": "off"
}
],
"no-console": "warn"
}
}
}
]
}