Skip to content

Commit a9df462

Browse files
committed
Initial commit.
0 parents  commit a9df462

36 files changed

+9376
-0
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/dist
2+
/src-capacitor
3+
/src-cordova
4+
/.quasar
5+
/node_modules
6+
.eslintrc.js
7+
/src-ssr

.eslintrc.js

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
module.exports = {
2+
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
3+
// This option interrupts the configuration hierarchy at this file
4+
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
5+
root: true,
6+
7+
// https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
8+
// Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
9+
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
10+
parserOptions: {
11+
parser: require.resolve('@typescript-eslint/parser'),
12+
extraFileExtensions: [ '.vue' ]
13+
},
14+
15+
env: {
16+
browser: true,
17+
es2021: true,
18+
node: true,
19+
'vue/setup-compiler-macros': true
20+
},
21+
22+
// Rules order is important, please avoid shuffling them
23+
extends: [
24+
// Base ESLint recommended rules
25+
// 'eslint:recommended',
26+
27+
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage
28+
// ESLint typescript rules
29+
'plugin:@typescript-eslint/recommended',
30+
31+
// Uncomment any of the lines below to choose desired strictness,
32+
// but leave only one uncommented!
33+
// See https://eslint.vuejs.org/rules/#available-rules
34+
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
35+
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
36+
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
37+
38+
// https://github.com/prettier/eslint-config-prettier#installation
39+
// usage with Prettier, provided by 'eslint-config-prettier'.
40+
'prettier'
41+
],
42+
43+
plugins: [
44+
// required to apply rules which need type information
45+
'@typescript-eslint',
46+
47+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
48+
// required to lint *.vue files
49+
'vue'
50+
51+
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
52+
// Prettier has not been included as plugin to avoid performance impact
53+
// add it as an extension for your IDE
54+
55+
],
56+
57+
globals: {
58+
ga: 'readonly', // Google Analytics
59+
cordova: 'readonly',
60+
__statics: 'readonly',
61+
__QUASAR_SSR__: 'readonly',
62+
__QUASAR_SSR_SERVER__: 'readonly',
63+
__QUASAR_SSR_CLIENT__: 'readonly',
64+
__QUASAR_SSR_PWA__: 'readonly',
65+
process: 'readonly',
66+
Capacitor: 'readonly',
67+
chrome: 'readonly'
68+
},
69+
70+
// add your custom rules here
71+
rules: {
72+
73+
'prefer-promise-reject-errors': 'off',
74+
75+
quotes: ['warn', 'single', { avoidEscape: true }],
76+
77+
// this rule, if on, would require explicit return type on the `render` function
78+
'@typescript-eslint/explicit-function-return-type': 'off',
79+
80+
// in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
81+
'@typescript-eslint/no-var-requires': 'off',
82+
83+
// The core 'no-unused-vars' rules (in the eslint:recommended ruleset)
84+
// does not work with type definitions
85+
'no-unused-vars': 'off',
86+
87+
// allow debugger during development only
88+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
89+
}
90+
}

.gitignore

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.DS_Store
2+
.thumbs.db
3+
node_modules
4+
5+
# Quasar core related directories
6+
.quasar
7+
/dist
8+
9+
# Cordova related directories and files
10+
/src-cordova/node_modules
11+
/src-cordova/platforms
12+
/src-cordova/plugins
13+
/src-cordova/www
14+
15+
# Capacitor related directories and files
16+
/src-capacitor/www
17+
/src-capacitor/node_modules
18+
19+
# BEX related directories and files
20+
/src-bex/www
21+
/src-bex/js/core
22+
23+
# Log files
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# Editor directories and files
29+
.idea
30+
*.suo
31+
*.ntvs*
32+
*.njsproj
33+
*.sln
34+
35+
build/
36+
*.swp

.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"semi": true
4+
}

.vscode/extensions.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"esbenp.prettier-vscode",
5+
"editorconfig.editorconfig",
6+
"johnsoncodehk.volar",
7+
"wayou.vscode-todo-highlight"
8+
],
9+
"unwantedRecommendations": [
10+
"octref.vetur",
11+
"hookyqr.beautify",
12+
"dbaeumer.jshint",
13+
"ms-vscode.vscode-typescript-tslint-plugin"
14+
]
15+
}

.vscode/settings.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"editor.bracketPairColorization.enabled": true,
3+
"editor.guides.bracketPairs": true,
4+
"editor.formatOnSave": true,
5+
"editor.defaultFormatter": "esbenp.prettier-vscode",
6+
"editor.codeActionsOnSave": [
7+
"source.fixAll.eslint"
8+
],
9+
"eslint.validate": [
10+
"javascript",
11+
"javascriptreact",
12+
"typescript",
13+
"vue"
14+
],
15+
"typescript.tsdk": "node_modules/typescript/lib"
16+
}

LICENSE.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The vgc project is licensed under the MIT "Expat" License:
2+
3+
> Copyright (c) 2022: Sunoru.
4+
>
5+
> Permission is hereby granted, free of charge, to any person obtaining a copy
6+
> of this software and associated documentation files (the "Software"), to deal
7+
> in the Software without restriction, including without limitation the rights
8+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
> copies of the Software, and to permit persons to whom the Software is
10+
> furnished to do so, subject to the following conditions:
11+
>
12+
> The above copyright notice and this permission notice shall be included in all
13+
> copies or substantial portions of the Software.
14+
>
15+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
> SOFTWARE.
22+
>

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# VGC Tools
2+
3+
Simple tools for VGC battles. It's created mainly for my own use.
4+
5+
## License
6+
7+
[MIT License](https://sunoru.mit-license.org/).

index.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title><%= productName %></title>
5+
6+
<meta charset="utf-8">
7+
<meta name="description" content="<%= productDescription %>">
8+
<meta name="format-detection" content="telephone=no">
9+
<meta name="msapplication-tap-highlight" content="no">
10+
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
11+
12+
<link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png">
13+
<link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png">
14+
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
15+
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
16+
<link rel="icon" type="image/ico" href="favicon.ico">
17+
</head>
18+
<body>
19+
<!-- quasar:entry-point -->
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)