Skip to content

Commit ec9fab7

Browse files
committed
prevue 2.0
1 parent 3399984 commit ec9fab7

Some content is hidden

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

63 files changed

+15311
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist

.eslintrc.js

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
module.exports = {
2+
root: true,
3+
4+
parserOptions: {
5+
parser: 'babel-eslint',
6+
sourceType: 'module'
7+
},
8+
9+
env: {
10+
browser: true
11+
},
12+
13+
extends: [
14+
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
15+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
16+
'plugin:vue/essential',
17+
'@vue/standard'
18+
],
19+
20+
// required to lint *.vue files
21+
plugins: [
22+
'vue'
23+
],
24+
25+
globals: {
26+
'ga': true, // Google Analytics
27+
'cordova': true,
28+
'__statics': true,
29+
'process': true
30+
},
31+
32+
// add your custom rules here
33+
rules: {
34+
// allow async-await
35+
'generator-star-spacing': 'off',
36+
// allow paren-less arrow functions
37+
'arrow-parens': 'off',
38+
'one-var': 'off',
39+
40+
'import/first': 'off',
41+
'import/named': 'error',
42+
'import/namespace': 'error',
43+
'import/default': 'error',
44+
'import/export': 'error',
45+
'import/extensions': 'off',
46+
'import/no-unresolved': 'off',
47+
'import/no-extraneous-dependencies': 'off',
48+
'prefer-promise-reject-errors': 'off',
49+
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+
}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.quasar
2+
.DS_Store
3+
.thumbs.db
4+
node_modules
5+
/dist
6+
/src-cordova/node_modules
7+
/src-cordova/platforms
8+
/src-cordova/plugins
9+
/src-cordova/www
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln

.postcssrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
plugins: [
5+
// to edit target browsers: use "browserslist" field in package.json
6+
require('autoprefixer')
7+
]
8+
}

.stylintrc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"blocks": "never",
3+
"brackets": "never",
4+
"colons": "never",
5+
"colors": "always",
6+
"commaSpace": "always",
7+
"commentSpace": "always",
8+
"cssLiteral": "never",
9+
"depthLimit": false,
10+
"duplicates": true,
11+
"efficient": "always",
12+
"extendPref": false,
13+
"globalDupe": true,
14+
"indentPref": 2,
15+
"leadingZero": "never",
16+
"maxErrors": false,
17+
"maxWarnings": false,
18+
"mixed": false,
19+
"namingConvention": false,
20+
"namingConventionStrict": false,
21+
"none": "never",
22+
"noImportant": false,
23+
"parenSpace": "never",
24+
"placeholder": false,
25+
"prefixVarsWithDollar": "always",
26+
"quotePref": "single",
27+
"semicolons": "never",
28+
"sortOrder": false,
29+
"stackedProperties": "never",
30+
"trailingWhitespace": "never",
31+
"universal": "never",
32+
"valid": true,
33+
"zeroUnits": "never",
34+
"zIndexNormalize": false
35+
}

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@quasar/babel-preset-app'
4+
]
5+
}

0 commit comments

Comments
 (0)