Skip to content

Commit

Permalink
chore(deps): update eslint monorepo to v9 (major) (#444)
Browse files Browse the repository at this point in the history
* chore(deps): update eslint monorepo to v9

* chore: Update eslint config

---------

Co-authored-by: gabe565-renovate[bot] <156644344+gabe565-renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Cook <gabe565@gmail.com>
  • Loading branch information
gabe565-renovate[bot] and gabe565 authored Dec 21, 2024
1 parent f16fd5d commit 92903ef
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 186 deletions.
26 changes: 0 additions & 26 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.56.0
rev: v9.17.0
hooks:
- id: eslint
files: '^src'
Expand Down
26 changes: 26 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginVue from "eslint-plugin-vue";
import pluginVuetify from "eslint-plugin-vuetify";
import pluginPrettier from "eslint-plugin-prettier/recommended";
import pluginAutoImport from "./.eslintrc-auto-import.json" with { type: "json" };

export default [
{
languageOptions: {
globals: { ...globals.node, ...globals.browser },
},
},
{ ignores: ["dist", "dev-dist"] },
pluginJs.configs.recommended,
...pluginVue.configs["flat/recommended"],
...pluginVuetify.configs["flat/recommended"],
pluginPrettier,
{ languageOptions: pluginAutoImport },
{
rules: {
"no-unused-vars": ["error", { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }],
"vue/no-template-shadow": "off",
},
},
];
Loading

0 comments on commit 92903ef

Please sign in to comment.