Skip to content

Commit 4cb6a3c

Browse files
Shanon LeeShanon Lee
authored andcommitted
Initial commit with working dependencies; electron 16 + quasar 2 + vue3
1 parent edd6383 commit 4cb6a3c

File tree

148 files changed

+17430
-79631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+17430
-79631
lines changed

.babelrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
root = true
2+
23
[*]
34
charset = utf-8
45
indent_style = space

.env

Lines changed: 0 additions & 3 deletions
This file was deleted.

.env.development

Lines changed: 0 additions & 3 deletions
This file was deleted.

.env.example

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
21
/dist
2+
/src-bex/www
3+
/src-capacitor
4+
/src-cordova
5+
/src
6+
/.quasar
7+
/node_modules
8+
.eslintrc.js
9+
babel.config.js
10+
/src/components/ComponentDisplay.vue

.eslintrc.js

Lines changed: 66 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,66 @@
1-
/* eslint-disable max-len */
2-
module.exports = {
3-
root: true,
4-
5-
parserOptions: {
6-
parser: 'babel-eslint',
7-
sourceType: 'module'
8-
},
9-
10-
env: {
11-
browser: true
12-
},
13-
14-
extends: [
15-
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
16-
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
17-
'plugin:vue/essential',
18-
'@vue/standard'
19-
],
20-
21-
// required to lint *.vue files
22-
plugins: ['vue'],
23-
24-
globals: {
25-
ga: true, // Google Analytics
26-
cordova: true,
27-
__statics: true,
28-
process: true
29-
},
30-
31-
// add your custom rules here
32-
rules: {
33-
// allow async-await
34-
'generator-star-spacing': 'off',
35-
// allow paren-less arrow functions
36-
'arrow-parens': 'off',
37-
'one-var': 'off',
38-
'semi': 'off',
39-
'quotes': 'off',
40-
'space-before-function-paren': 'off',
41-
'import/first': 'off',
42-
'import/named': 'error',
43-
'import/namespace': 'error',
44-
'import/default': 'error',
45-
'import/export': 'error',
46-
'import/extensions': 'off',
47-
'import/no-unresolved': 'off',
48-
'import/no-extraneous-dependencies': 'off',
49-
'prefer-promise-reject-errors': 'off',
50-
// allow console.log during development only
51-
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
52-
// allow debugger during development only
53-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
54-
}
55-
}
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+
parserOptions: {
8+
parser: '@babel/eslint-parser',
9+
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
10+
sourceType: 'module' // Allows for the use of imports
11+
},
12+
13+
env: {
14+
browser: true
15+
},
16+
17+
// Rules order is important, please avoid shuffling them
18+
extends: [
19+
// Base ESLint recommended rules
20+
// 'eslint:recommended',
21+
22+
23+
// Uncomment any of the lines below to choose desired strictness,
24+
// but leave only one uncommented!
25+
// See https://eslint.vuejs.org/rules/#available-rules
26+
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
27+
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
28+
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
29+
30+
// https://github.com/prettier/eslint-config-prettier#installation
31+
// usage with Prettier, provided by 'eslint-config-prettier'.
32+
'prettier'
33+
],
34+
35+
plugins: [
36+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file
37+
// required to lint *.vue files
38+
'vue',
39+
40+
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
41+
// Prettier has not been included as plugin to avoid performance impact
42+
// add it as an extension for your IDE
43+
],
44+
45+
globals: {
46+
ga: 'readonly', // Google Analytics
47+
cordova: 'readonly',
48+
__statics: 'readonly',
49+
__QUASAR_SSR__: 'readonly',
50+
__QUASAR_SSR_SERVER__: 'readonly',
51+
__QUASAR_SSR_CLIENT__: 'readonly',
52+
__QUASAR_SSR_PWA__: 'readonly',
53+
process: 'readonly',
54+
Capacitor: 'readonly',
55+
chrome: 'readonly'
56+
},
57+
58+
// add your custom rules here
59+
rules: {
60+
'prefer-promise-reject-errors': 'off',
61+
62+
63+
// allow debugger during development only
64+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
65+
}
66+
}

.gitignore

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
1-
#
2-
.env
3-
.env.development
4-
#
5-
.quasar
61
.DS_Store
72
.thumbs.db
83
node_modules
4+
5+
# Quasar core related directories
6+
.quasar
97
/dist
8+
9+
# Cordova related directories and files
1010
/src-cordova/node_modules
1111
/src-cordova/platforms
1212
/src-cordova/plugins
13-
/src-cordova/www\
14-
/test/jest/coverage
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
1524
npm-debug.log*
1625
yarn-debug.log*
1726
yarn-error.log*
18-
/coverage
19-
# package-lock.json
20-
vetur.config.js
2127

2228
# Editor directories and files
2329
.idea
24-
.vscode
2530
*.suo
2631
*.ntvs*
2732
*.njsproj
2833
*.sln
29-
30-
#amplify
31-
amplify/\#current-cloud-backend
32-
amplify/.config/local-*
33-
amplify/backend/amplify-meta.json
34-
amplify/backend/awscloudformation
35-
build/
36-
dist/
37-
node_modules/
38-
aws-exports.js
39-
awsconfiguration.json

.graphqlconfig.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.postcssrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
12

23
module.exports = {
34
plugins: [

0 commit comments

Comments
 (0)