Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rewrite project in vue and vite (#99)
* init project * update the main app function * update readme * add isFetching flag * update eslint config and components * add set token dialog * update request error handler * updata storage.ts and api * update toast * update share btns * update styles * update header and dialog * update vuex usage in component * update dialog * update generate image with watermark * update chart watermark and header * update styles * update header and styles * update store initial to filter duplicate repos * code clean * fix format date string function * feat: add router (#2) * add vue-router * hide other pages * update inputer repo regex * update code styles * remove extra script codes
- Loading branch information
Showing
69 changed files
with
4,208 additions
and
19,566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
module.exports = { | ||
parser: "vue-eslint-parser", | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
sourceType: "module", | ||
}, | ||
plugins: ["vue", "@typescript-eslint", "prettier"], | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:vue/vue3-recommended", | ||
"@vue/typescript/recommended", | ||
"plugin:prettier/recommended", | ||
], | ||
rules: { | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
endOfLine: "auto", | ||
}, | ||
], | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-namespace": "off", | ||
"vue/multi-word-component-names": "off", | ||
"vue/require-default-prop": "off", | ||
"vue/one-component-per-file": "off", | ||
}, | ||
ignorePatterns: ["node_modules", "dist", "public"], | ||
overrides: [ | ||
{ | ||
files: ["./**/*.js"], | ||
env: { | ||
node: true, | ||
}, | ||
rules: { | ||
"no-undef": "off", | ||
}, | ||
}, | ||
{ | ||
files: ["*.vue"], | ||
rules: { | ||
"no-undef": "off", | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
node_modules | ||
.DS_Store | ||
dist | ||
.cache | ||
extension.zip | ||
dist-ssr | ||
*.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"singleQuote": false, | ||
"semi": true, | ||
"printWidth": 80 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.