Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Vue 3 #522

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
559c86d
improve dark mode colors a bit
dtemkin1 Oct 5, 2024
6c0230c
make about page into dialog (fixes theme not being set when refreshin…
dtemkin1 Oct 5, 2024
380b9a2
Merge branch 'sipb:master' into master
dtemkin1 Oct 5, 2024
759afd3
Merge branch 'sipb:master' into master
dtemkin1 Oct 6, 2024
6cd0d5d
Merge branch 'master' of https://github.com/dtemkin1/courseroad2
dtemkin1 Oct 6, 2024
fb92c96
fix auth, add gitattributes...
dtemkin1 Oct 6, 2024
e40385d
Merge branch 'sipb:master' into master
dtemkin1 Oct 21, 2024
f284716
restore old colors (for now...)
dtemkin1 Nov 13, 2024
73de227
update eslint and config
dtemkin1 Nov 13, 2024
5789fcb
turn this.$ functions and mixins into hooks/exports
dtemkin1 Nov 13, 2024
289d80e
start migrating to composition api
dtemkin1 Nov 13, 2024
8ff66b7
add define component to name (eventually, use defineOptions once vue …
dtemkin1 Nov 14, 2024
fc4801a
more composition api migration yayy
dtemkin1 Nov 14, 2024
1bfc1a1
update custom class component
dtemkin1 Nov 16, 2024
6682126
continue composition api
dtemkin1 Nov 16, 2024
05a5f4b
fix eslint, go through all components already done
dtemkin1 Nov 16, 2024
e51f554
migrate more components
dtemkin1 Nov 23, 2024
b62424e
dont need bind(this)
dtemkin1 Nov 24, 2024
7f99b28
add auth component
dtemkin1 Nov 24, 2024
b855acb
add audit component, remove eslint comments
dtemkin1 Nov 24, 2024
a5cff64
put main page in composition, pascalcase, and fix store proxy
dtemkin1 Nov 24, 2024
dc79a9f
migrate to pinia from vuex
dtemkin1 Nov 25, 2024
5a9db48
use new grid layout
dtemkin1 Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .eslintrc.cjs

This file was deleted.

40 changes: 40 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import globals from "globals";
import js from "@eslint/js";
import eslintPluginVue from "eslint-plugin-vue";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";

import ts from "typescript-eslint";

export default ts.config(
js.configs.recommended,
...ts.configs.recommended,
...eslintPluginVue.configs["flat/vue2-recommended"],
eslintPluginPrettierRecommended,
{
files: ["*.vue", "**/*.vue"],
languageOptions: {
globals: {
...globals.node,
},
parserOptions: {
parser: "@typescript-eslint/parser",
},
},

rules: {
"vue/script-setup-uses-vars": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "all",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
ignoreRestSiblings: true,
},
],
},
},
);
Loading