summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-02-27 21:12:25 +0300
committerEd Tanous <ed@tanous.net>2024-03-05 07:23:10 +0300
commita0c29207a44028fd04e881bbd4e3cbc44ced35ac (patch)
tree8dcd36ca3ff5775fc6f81a5f26da4ae5bab78788 /.eslintrc.js
parent47009075de12e5701d84653dc0db0e23f4e02609 (diff)
downloadwebui-vue-a0c29207a44028fd04e881bbd4e3cbc44ced35ac.tar.xz
Upgrade eslint
Being on an old version of eslint is causing conflicts in our builds, but because we pull in the @vue/cli-plugin-eslint plugin, we can't upgrade. @vue is non trial to update, because webui-vue is on vue 4.X, while the latest is 5.X. This commit upgrades eslint to the latest version, and at the same time disables @vue/cli-plugin-eslint. Not having a cli plugin doesn't seem like it would be any amount of impact, as devs can just run eslint manually. At the same time, to fix a minor issue, update all of @vue to the latest minor revision 4.5.12->4.5.19 Change-Id: I3ca9c7bbee5bdf9046d86e25e7130808b9caaa2b Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index aeaa1c95..78c0cd0c 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -14,10 +14,9 @@ module.exports = {
},
],
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
+ 'vue/multi-word-component-names': 'off',
},
- parserOptions: {
- parser: 'babel-eslint',
- },
+ parser: 'vue-eslint-parser',
overrides: [
{
files: [