-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4bc6ed8
Showing
50 changed files
with
10,503 additions
and
0 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,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
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,9 @@ | ||
/dist | ||
/src-bex/www | ||
/src-capacitor | ||
/src-cordova | ||
/.quasar | ||
/node_modules | ||
.eslintrc.js | ||
babel.config.js | ||
/src-ssr |
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,92 @@ | ||
const { resolve } = require('path'); | ||
module.exports = { | ||
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy | ||
// This option interrupts the configuration hierarchy at this file | ||
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos) | ||
root: true, | ||
|
||
// https://eslint.vuejs.org/user-guide/#how-to-use-custom-parser | ||
// Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working | ||
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted | ||
parserOptions: { | ||
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#configuration | ||
// https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#eslint | ||
// Needed to make the parser take into account 'vue' files | ||
extraFileExtensions: ['.vue'], | ||
parser: '@typescript-eslint/parser', | ||
project: resolve(__dirname, './tsconfig.json'), | ||
tsconfigRootDir: __dirname, | ||
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features | ||
sourceType: 'module' // Allows for the use of imports | ||
}, | ||
|
||
env: { | ||
browser: true | ||
}, | ||
|
||
// Rules order is important, please avoid shuffling them | ||
extends: [ | ||
// Base ESLint recommended rules | ||
// 'eslint:recommended', | ||
|
||
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage | ||
// ESLint typescript rules | ||
'plugin:@typescript-eslint/recommended', | ||
// consider disabling this class of rules if linting takes too long | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
|
||
// Uncomment any of the lines below to choose desired strictness, | ||
// but leave only one uncommented! | ||
// See https://eslint.vuejs.org/rules/#available-rules | ||
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention) | ||
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability) | ||
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead) | ||
|
||
// https://github.com/prettier/eslint-config-prettier#installation | ||
// usage with Prettier, provided by 'eslint-config-prettier'. | ||
'prettier' | ||
], | ||
|
||
plugins: [ | ||
// required to apply rules which need type information | ||
'@typescript-eslint', | ||
|
||
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file | ||
// required to lint *.vue files | ||
'vue', | ||
|
||
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674 | ||
// Prettier has not been included as plugin to avoid performance impact | ||
// add it as an extension for your IDE | ||
], | ||
|
||
globals: { | ||
ga: 'readonly', // Google Analytics | ||
cordova: 'readonly', | ||
__statics: 'readonly', | ||
__QUASAR_SSR__: 'readonly', | ||
__QUASAR_SSR_SERVER__: 'readonly', | ||
__QUASAR_SSR_CLIENT__: 'readonly', | ||
__QUASAR_SSR_PWA__: 'readonly', | ||
process: 'readonly', | ||
Capacitor: 'readonly', | ||
chrome: 'readonly' | ||
}, | ||
|
||
// add your custom rules here | ||
rules: { | ||
'prefer-promise-reject-errors': 'off', | ||
|
||
// TypeScript | ||
quotes: ['warn', 'single', { avoidEscape: true }], | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
|
||
// allow debugger during development only | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
|
||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': '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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.DS_Store | ||
.thumbs.db | ||
node_modules | ||
|
||
# Quasar core related directories | ||
.quasar | ||
/dist | ||
|
||
# Cordova related directories and files | ||
/src-cordova/node_modules | ||
/src-cordova/platforms | ||
/src-cordova/plugins | ||
/src-cordova/www | ||
|
||
# Capacitor related directories and files | ||
/src-capacitor/www | ||
/src-capacitor/node_modules | ||
|
||
# BEX related directories and files | ||
/src-bex/www | ||
/src-bex/js/core | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln |
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,8 @@ | ||
// https://github.com/michael-ciniawsky/postcss-load-config | ||
|
||
module.exports = { | ||
plugins: [ | ||
// to edit target browsers: use "browserslist" field in package.json | ||
require('autoprefixer') | ||
] | ||
} |
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,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"semi": true | ||
} |
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,12 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"octref.vetur" | ||
], | ||
"unwantedRecommendations": [ | ||
"hookyqr.beautify", | ||
"dbaeumer.jshint", | ||
"ms-vscode.vscode-typescript-tslint-plugin" | ||
] | ||
} |
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 @@ | ||
{ | ||
"vetur.validation.template": false, | ||
"vetur.format.enable": false, | ||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"vetur.experimental.templateInterpolationService": true | ||
} |
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 @@ | ||
# v2p-client |
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,15 @@ | ||
/* eslint-env node */ | ||
|
||
module.exports = api => { | ||
return { | ||
presets: [ | ||
[ | ||
'@quasar/babel-preset-app', | ||
api.caller(caller => caller && caller.target === 'node') | ||
? { targets: { node: 'current' } } | ||
: {} | ||
] | ||
] | ||
} | ||
} | ||
|
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,52 @@ | ||
{ | ||
"name": "v2p-client", | ||
"version": "0.0.1", | ||
"description": "customize personal network", | ||
"productName": "elecV2P", | ||
"author": "teeoo", | ||
"private": true, | ||
"scripts": { | ||
"lint": "eslint --ext .js,.ts,.vue ./", | ||
"test": "echo \"No test specified\" && exit 0" | ||
}, | ||
"dependencies": { | ||
"@quasar/extras": "^1.0.0", | ||
"@stomp/stompjs": "^6.1.2", | ||
"axios": "^0.21.1", | ||
"codemirror": "^5.63.3", | ||
"core-js": "^3.6.5", | ||
"jsonlint-mod": "^1.7.6", | ||
"pinia": "^2.0.3", | ||
"quasar": "^2.0.0", | ||
"socket.io-client": "^4.3.2", | ||
"vue-i18n": "^9.0.0", | ||
"vue-native-websocket-vue3": "^3.1.4" | ||
}, | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.13.14", | ||
"@quasar/app": "^3.0.0", | ||
"@types/codemirror": "^5.60.5", | ||
"@types/node": "^12.20.21", | ||
"@typescript-eslint/eslint-plugin": "^4.16.1", | ||
"@typescript-eslint/parser": "^4.16.1", | ||
"eslint": "^7.14.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-vue": "^7.0.0" | ||
}, | ||
"browserslist": [ | ||
"last 10 Chrome versions", | ||
"last 10 Firefox versions", | ||
"last 4 Edge versions", | ||
"last 7 Safari versions", | ||
"last 8 Android versions", | ||
"last 8 ChromeAndroid versions", | ||
"last 8 FirefoxAndroid versions", | ||
"last 10 iOS versions", | ||
"last 5 Opera versions" | ||
], | ||
"engines": { | ||
"node": ">= 12.22.1", | ||
"npm": ">= 6.13.4", | ||
"yarn": ">= 1.21.1" | ||
} | ||
} |
Binary file not shown.
Oops, something went wrong.