diff --git a/girder/girder_large_image/web_client/package.json b/girder/girder_large_image/web_client/package.json index f22866988..d9a20b0df 100644 --- a/girder/girder_large_image/web_client/package.json +++ b/girder/girder_large_image/web_client/package.json @@ -37,7 +37,18 @@ "webpack": "webpack.helper" }, "eslintConfig": { - "extends": "@girder", + "extends": [ + "@girder", + "plugin:vue/recommended" + ], + "overrides": [ + { + "files": [ + "*.js", + "*.vue" + ] + } + ], "rules": { "for-direction": "error", "getter-return": "error", @@ -54,7 +65,8 @@ "import/exports-last": "error", "promise/no-native": "error", "promise/no-return-in-finally": "error", - "promise/no-return-wrap": "error" + "promise/no-return-wrap": "error", + "vue/require-prop-types": "off" }, "root": true }, @@ -75,7 +87,8 @@ "stylusSupremacy.alwaysUseZeroWithoutUnit": true, "stylusSupremacy.reduceMarginAndPaddingValues": true, "devDependencies": { - "@girder/eslint-config": "^3.0.0-rc1", + "@girder/eslint-config": "*", + "@girder/pug-lint-config": "*", "eslint": "^8.20.0", "eslint-config-semistandard": "^17.0.0", "eslint-config-standard": "^17.0.0", @@ -83,12 +96,12 @@ "eslint-plugin-import": "^2.25.3", "eslint-plugin-n": "^15.2.4", "eslint-plugin-promise": "^6.0.0", - "@girder/pug-lint-config": "^3.0.0-rc1", + "eslint-plugin-vue": "~9.14.0", "pug-lint": "^2.6.0", "stylus-supremacy": "^2.17.5" }, "scripts": { "lint": "eslint --cache . && eslint --no-eslintrc -c ./package.json --cache ../../test_girder/web_client_specs && pug-lint . && stylus-supremacy format --compare ./**/*.styl --options package.json", - "format": "eslint --cache --fix . && eslint --no-eslintrc -c ./package.json --cache --fix ../../test_girder/web_client_specs && eslint --cache --fix . && stylus-supremacy format ./**/*.styl --replace --options package.json" + "format": "eslint --cache --fix . && eslint --no-eslintrc -c ./package.json --cache --fix ../../test_girder/web_client_specs && stylus-supremacy format ./**/*.styl --replace --options package.json" } } diff --git a/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue b/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue index 24cc18c8e..268e6a4f0 100644 --- a/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue +++ b/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue @@ -1,16 +1,17 @@