Skip to content

Commit

Permalink
chore: update npm deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Nov 9, 2024
1 parent 341fe36 commit 076287b
Show file tree
Hide file tree
Showing 3 changed files with 324 additions and 271 deletions.
8 changes: 5 additions & 3 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// @ts-check
import pluginVitest from "@vitest/eslint-plugin"
import skipFormatting from "@vue/eslint-config-prettier/skip-formatting"
import vueTsEslintConfig from "@vue/eslint-config-typescript"
import simpleImportSort from "eslint-plugin-simple-import-sort"
import pluginVue from "eslint-plugin-vue"
import tseslint from "typescript-eslint"


const mode = process.env.NODE_ENV === "production" ? "error" : "warn"

export default [
export default tseslint.config(
{
name: "app/files-to-lint",
files: ["**/*.{ts,mts,tsx,vue}"]
Expand All @@ -22,6 +23,7 @@ export default [
...pluginVitest.configs.recommended,
files: ["src/**/__tests__/*"]
},
// @ts-expect-error there is not type definition
skipFormatting,
{
plugins: {
Expand All @@ -34,4 +36,4 @@ export default [
"no-debugger": mode
}
}
]
)
Loading

0 comments on commit 076287b

Please sign in to comment.