Remove all references to Vue

This commit is contained in:
Keavon Chambers
2023-03-10 14:14:34 -08:00
parent b4a265a512
commit 6febdea3c3
13 changed files with 20 additions and 88 deletions
+1 -38
View File
@@ -1,4 +1,4 @@
const webpackConfigPath = require.resolve("@vue/cli-service/webpack.config.js");
const webpackConfigPath = require.resolve("@webpack/webpack.config.js");
module.exports = {
root: true,
@@ -11,14 +11,6 @@ module.exports = {
ecmaVersion: 2020,
},
extends: [
// Vue-specific defaults
"plugin:vue/vue3-essential",
// Vue-compatible JS defaults
"@vue/airbnb",
// Vue-compatible TS defaults
"@vue/typescript/recommended",
// Vue-compatible Prettier defaults
"plugin:prettier-vue/recommended",
// General Prettier defaults
"prettier",
],
@@ -29,16 +21,6 @@ module.exports = {
node: {},
webpack: { config: webpackConfigPath },
},
// https://github.com/meteorlxy/eslint-plugin-prettier-vue
"prettier-vue": {
// Use Prettier to format the HTML, CSS, and JS blocks of .vue single-file components
SFCBlocks: {
template: true,
style: true,
script: true,
},
},
},
ignorePatterns: [
// Ignore generated directories
@@ -102,25 +84,6 @@ module.exports = {
],
},
],
// Prettier plugin config (used to enforce HTML, CSS, and JS formatting styles as an ESLint plugin, where fixes are reported to ESLint to be applied when linting)
"prettier-vue/prettier": [
"error",
{
tabWidth: 4,
tabs: true,
printWidth: 200,
singleQuote: false,
},
],
// Vue plugin config (used to validate Vue single-file components)
"vue/multi-word-component-names": "off",
// Vue Accessibility plugin config (included by airbnb defaults but undesirable for a web app project)
"vuejs-accessibility/form-control-has-label": "off",
"vuejs-accessibility/label-has-for": "off",
"vuejs-accessibility/click-events-have-key-events": "off",
},
overrides: [
{