Skip to content

Commit

Permalink
update packages and eslint to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Bassadin committed Apr 8, 2024
1 parent f248ea3 commit 7fbe555
Show file tree
Hide file tree
Showing 4 changed files with 997 additions and 736 deletions.
88 changes: 0 additions & 88 deletions .eslintrc

This file was deleted.

89 changes: 89 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
export default [
{
extends: [
"@nuxtjs/eslint-config-typescript",
"plugin:nuxt/recommended",
"prettier",
],
rules: {
"vue/multi-word-component-names": "off",
"vue/no-multiple-template-root": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-inferrable-types": "off",
"prefer-const": "warn",

"no-unused-vars": "off",

// Remove this later when we're ready
"@typescript-eslint/no-explicit-any": "off",
"vue/no-unused-components": "warn",
"vue/no-unused-properties": [
"warn",
{
groups: ["props", "data", "computed", "methods"],
deepData: false,
},
],
"vue/order-in-components": [
"warn",
{
order: [
"el",
"name",
"key",
"parent",
"functional",
["delimiters", "comments"],
["components", "directives", "filters"],
"extends",
"mixins",
["provide", "inject"],
"ROUTER_GUARDS",
"layout",
"middleware",
"validate",
"scrollToTop",
"transition",
"loading",
"inheritAttrs",
"model",
["props", "propsData"],
"emits",
"setup",
"asyncData",
"data",
"fetch",
"head",
"computed",
"watch",
"watchQuery",
"LIFECYCLE_HOOKS",
"methods",
["template", "render"],
"renderError",
],
},
],
"vue/attributes-order": [
"warn",
{
order: [
"DEFINITION",
"LIST_RENDERING",
"CONDITIONALS",
"RENDER_MODIFIERS",
"GLOBAL",
["UNIQUE", "SLOT"],
"TWO_WAY_BINDING",
"OTHER_DIRECTIVES",
"OTHER_ATTR",
"EVENTS",
"CONTENT",
],
alphabetical: false,
},
],
},
},
];
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@unocss/nuxt": "^0.58.8",
"@unocss/preset-web-fonts": "^0.58.8",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@unocss/nuxt": "^0.59.0",
"@unocss/preset-web-fonts": "^0.59.0",
"@vueuse/core": "^10.9.0",
"@vueuse/nuxt": "^10.9.0",
"cypress": "^13.7.1",
"eslint": "^8.57.0",
"cypress": "^13.7.2",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"nuxt": "^3.11.1",
"nuxt": "^3.11.2",
"nuxt-icon": "^0.6.10",
"prettier": "^3.2.5",
"sass": "^1.72.0",
"typescript": "^5.4.3",
"vite": "^5.2.7"
"sass": "^1.74.1",
"typescript": "^5.4.4",
"vite": "^5.2.8"
},
"dependencies": {
"@mdi/js": "^7.4.47",
"@unocss/reset": "^0.58.8",
"@unocss/reset": "^0.59.0",
"mdi-vue": "^3.0.13",
"unhead": "^1.9.3",
"unhead": "^1.9.4",
"vue": "^3.4.21"
}
}
Loading

0 comments on commit 7fbe555

Please sign in to comment.