Skip to content

Commit bcff178

Browse files
committed
chore(dev): updated for q/app v2
1 parent e49a7df commit bcff178

27 files changed

+411
-31
lines changed

ui/dev/.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/dist
2+
/src-bex/www
3+
/src-capacitor
4+
/src-cordova
5+
/.quasar
6+
/node_modules

ui/dev/.eslintrc.js

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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',
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/essential', // Priority A: Essential (Error Prevention)
27+
// 'plugin:vue/strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
28+
// 'plugin:vue/recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
29+
30+
'standard'
31+
32+
],
33+
34+
plugins: [
35+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file
36+
// required to lint *.vue files
37+
'vue',
38+
39+
],
40+
41+
globals: {
42+
ga: true, // Google Analytics
43+
cordova: true,
44+
__statics: true,
45+
process: true,
46+
Capacitor: true,
47+
chrome: true
48+
},
49+
50+
// add your custom rules here
51+
rules: {
52+
// allow async-await
53+
'generator-star-spacing': 'off',
54+
// allow paren-less arrow functions
55+
'arrow-parens': 'off',
56+
'one-var': 'off',
57+
58+
'import/first': 'off',
59+
'import/named': 'error',
60+
'import/namespace': 'error',
61+
'import/default': 'error',
62+
'import/export': 'error',
63+
'import/extensions': 'off',
64+
'import/no-unresolved': 'off',
65+
'import/no-extraneous-dependencies': 'off',
66+
'prefer-promise-reject-errors': 'off',
67+
68+
69+
// allow debugger during development only
70+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
71+
}
72+
}

ui/dev/.gitignore

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
1-
.quasar
21
.DS_Store
32
.thumbs.db
43
node_modules
4+
5+
# Quasar core related directories
6+
.quasar
57
/dist
8+
9+
# Cordova related directories and files
610
/src-cordova/node_modules
711
/src-cordova/platforms
812
/src-cordova/plugins
913
/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
1024
npm-debug.log*
1125
yarn-debug.log*
1226
yarn-error.log*

ui/dev/babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
module.exports = {
23
presets: [
34
'@quasar/babel-preset-app'

ui/dev/jsconfig.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"src/*": [
6+
"src/*"
7+
],
8+
"app/*": [
9+
"*"
10+
],
11+
"components/*": [
12+
"src/components/*"
13+
],
14+
"layouts/*": [
15+
"src/layouts/*"
16+
],
17+
"pages/*": [
18+
"src/pages/*"
19+
],
20+
"assets/*": [
21+
"src/assets/*"
22+
],
23+
"boot/*": [
24+
"src/boot/*"
25+
],
26+
"vue$": [
27+
"node_modules/vue/dist/vue.esm.js"
28+
]
29+
}
30+
},
31+
"exclude": [
32+
"dist",
33+
".quasar",
34+
"node_modules"
35+
]
36+
}

ui/dev/public/app-logo-128x128.png

-8.97 KB
Binary file not shown.

ui/dev/public/favicon.ico

16.3 KB
Binary file not shown.
-8.15 KB
Binary file not shown.
-10.5 KB
Binary file not shown.
-11.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)