Skip to content

Commit

Permalink
chore: update dependencies, fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Dec 11, 2024
1 parent b27cd6e commit ef7077e
Show file tree
Hide file tree
Showing 9 changed files with 1,243 additions and 1,153 deletions.
21 changes: 0 additions & 21 deletions .eslintrc

This file was deleted.

41 changes: 41 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import globals from "globals";
import parser from "vue-eslint-parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends(
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
), {
languageOptions: {
globals: {
...globals.browser,
},

parser: parser,
ecmaVersion: 5,
sourceType: "script",

parserOptions: {
parser: "@typescript-eslint/parser",
},
},

rules: {
"vue/multi-word-component-names": "off",
"@typescript-eslint/ban-ts-comment": "off",
},
}];
Loading

0 comments on commit ef7077e

Please sign in to comment.