Skip to content

Commit 5dab4bf

Browse files
[MASTER] First commit
0 parents  commit 5dab4bf

32 files changed

+50826
-0
lines changed

.babelrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"presets": [["@babel/preset-env"]],
3+
"ignore": ["node_modules/", "public/"],
4+
"plugins": [
5+
"@babel/plugin-proposal-object-rest-spread",
6+
"@babel/plugin-proposal-optional-chaining",
7+
[
8+
"module-resolver",
9+
{
10+
"root": ["./"],
11+
"alias": {
12+
"@assets": "./src/assets",
13+
"@components": "./src/components",
14+
"@plugins": "./src/plugins"
15+
}
16+
}
17+
]
18+
]
19+
}

.browserslistrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Browsers that we support
2+
3+
> 1%
4+
last 2 versions
5+
not dead

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = tab
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
indent_size = 2
14+
indent_style = space
15+
16+
[*.{yml,yaml}]
17+
indent_size = 2
18+
19+
[*.{js,vue}]
20+
indent_size = 2
21+
indent_style = tab
22+
23+
[*.{scss,css}]
24+
indent_size = 2
25+
indent_style = space

.eslintignore

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

.eslintrc.js

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
node: true,
5+
},
6+
extends: [
7+
'airbnb-base',
8+
'eslint:recommended',
9+
'plugin:vue/essential',
10+
],
11+
globals: {
12+
socket: true,
13+
PDFObject: true,
14+
},
15+
overrides: [
16+
{
17+
files: [
18+
'**/*.spec.{j,t}s?(x)',
19+
],
20+
env: {
21+
jest: true,
22+
},
23+
},
24+
],
25+
parser: 'vue-eslint-parser',
26+
parserOptions: {
27+
parser: '@babel/eslint-parser',
28+
ecmaVersion: 12,
29+
sourceType: 'module',
30+
},
31+
plugins: [
32+
'import',
33+
'vue',
34+
'@babel',
35+
],
36+
settings: {
37+
'import/resolver': {
38+
'babel-module': {},
39+
},
40+
},
41+
rules: {
42+
'brace-style': ['error', 'stroustrup'],
43+
'default-case': [
44+
'error', {
45+
commentPattern: '^skip\\sdefault',
46+
},
47+
],
48+
'func-names': ['error', 'never'],
49+
'function-paren-newline': 0,
50+
'import/no-self-import': 0,
51+
'import/no-extraneous-dependencies': 0,
52+
'implicit-arrow-linebreak': ['warn', 'beside'],
53+
indent: [2, 'tab', { SwitchCase: 1 }],
54+
'no-tabs': [0, { allowIndentationTabs: true }],
55+
'linebreak-style': 0,
56+
'max-len': 0,
57+
'no-else-return': ['error', { allowElseIf: true }],
58+
'no-console': ['warn', { allow: ['warn', 'error', 'info'] }],
59+
'no-debugger': 0,
60+
'no-new': 0,
61+
'no-unused-vars': 1,
62+
'no-use-before-define': 0,
63+
'no-useless-escape': 0,
64+
'no-param-reassign': [
65+
'error', {
66+
props: true,
67+
ignorePropertyModificationsFor: ['field', 'model', 'el', 'item', 'state', 'Vue', 'vue'],
68+
},
69+
],
70+
'no-underscore-dangle': [
71+
'error', {
72+
allow: ['_data'],
73+
allowAfterThis: true,
74+
},
75+
],
76+
'no-plusplus': [
77+
'error', { allowForLoopAfterthoughts: true },
78+
],
79+
'object-curly-newline': ['error', {
80+
ObjectPattern: { multiline: false },
81+
}],
82+
'operator-linebreak': ['error', 'after'],
83+
'prefer-destructuring': [
84+
'error', {
85+
array: false,
86+
object: false,
87+
},
88+
{
89+
enforceForRenamedProperties: false,
90+
},
91+
],
92+
'space-before-function-paren': ['error', {
93+
anonymous: 'never',
94+
named: 'never',
95+
asyncArrow: 'never',
96+
}],
97+
'vue/html-closing-bracket-newline': 0,
98+
'vue/html-indent': 0,
99+
'vue/html-self-closing': 0,
100+
'vue/max-attributes-per-line': 0,
101+
'vue/no-template-shadow': 0,
102+
'vue/no-v-html': 0,
103+
'vue/singleline-html-element-content-newline': 0,
104+
},
105+
};

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
custom: ["https://bit.ly/wdns-paypal-veet-plugin"]
2+
patreon: webdevnerdstuff

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.DS_Store
2+
node_modules
3+
.history
4+
.vscode
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
17+
.idea
18+
.vscode
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?
24+
*.map
25+
26+
docs
27+
# docs/.vuepress/dist
28+
demo/dist/*

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
demo
2+
*.map

.prettierrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
singleQuote: true,
3+
trailingComma: 'all',
4+
};

0 commit comments

Comments
 (0)