Remove all references to Vue

This commit is contained in:
Keavon Chambers 2023-03-10 04:02:02 -08:00
parent db29ac6366
commit 74d761dc84
13 changed files with 20 additions and 88 deletions

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: [
{