Skip to content

Commit 767d1fd

Browse files
Initial commit
0 parents  commit 767d1fd

Some content is hidden

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

79 files changed

+17538
-0
lines changed

Diff for: .editorconfig

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

Diff for: .eslintignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# don't ever lint node_modules
2+
node_modules
3+
# don't lint build output (make sure it's set to your correct build folder name)
4+
dist
5+
6+
.eslintrc.js

Diff for: .eslintrc-auto-import.json

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"globals": {
3+
"CSSProperties": true,
4+
"Component": true,
5+
"ComponentPublicInstance": true,
6+
"ComputedRef": true,
7+
"EffectScope": true,
8+
"InjectionKey": true,
9+
"PropType": true,
10+
"Ref": true,
11+
"VNode": true,
12+
"computed": true,
13+
"createApp": true,
14+
"customRef": true,
15+
"defineAsyncComponent": true,
16+
"defineComponent": true,
17+
"effectScope": true,
18+
"getCurrentInstance": true,
19+
"getCurrentScope": true,
20+
"h": true,
21+
"inject": true,
22+
"isProxy": true,
23+
"isReactive": true,
24+
"isReadonly": true,
25+
"isRef": true,
26+
"markRaw": true,
27+
"nextTick": true,
28+
"onActivated": true,
29+
"onBeforeMount": true,
30+
"onBeforeUnmount": true,
31+
"onBeforeUpdate": true,
32+
"onDeactivated": true,
33+
"onErrorCaptured": true,
34+
"onMounted": true,
35+
"onRenderTracked": true,
36+
"onRenderTriggered": true,
37+
"onScopeDispose": true,
38+
"onServerPrefetch": true,
39+
"onUnmounted": true,
40+
"onUpdated": true,
41+
"provide": true,
42+
"reactive": true,
43+
"readonly": true,
44+
"ref": true,
45+
"resolveComponent": true,
46+
"shallowReactive": true,
47+
"shallowReadonly": true,
48+
"shallowRef": true,
49+
"toRaw": true,
50+
"toRef": true,
51+
"toRefs": true,
52+
"triggerRef": true,
53+
"unref": true,
54+
"useAttrs": true,
55+
"useCssModule": true,
56+
"useCssVars": true,
57+
"useSlots": true,
58+
"useTheme": true,
59+
"watch": true,
60+
"watchEffect": true,
61+
"watchPostEffect": true,
62+
"watchSyncEffect": true
63+
}
64+
}

Diff for: .eslintrc.js

+150
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
node: true,
5+
},
6+
extends: [
7+
'eslint:recommended',
8+
'plugin:vue/essential',
9+
'plugin:@typescript-eslint/recommended',
10+
'@vue/typescript/recommended',
11+
'prettier',
12+
'./.eslintrc-auto-import.json',
13+
],
14+
ignorePatterns: [
15+
'.eslintrc.js',
16+
'vite.build.config.ts',
17+
'vite.config.ts',
18+
'*.bk.vue',
19+
],
20+
overrides: [
21+
{
22+
files: [
23+
'**/*.spec.{j,t}s?(x)',
24+
],
25+
env: {
26+
jest: true,
27+
},
28+
},
29+
],
30+
globals: {
31+
Entry: true,
32+
},
33+
parserOptions: {
34+
parser: '@typescript-eslint/parser',
35+
},
36+
plugins: [
37+
'@typescript-eslint',
38+
'import',
39+
'prettier',
40+
'vue',
41+
],
42+
root: true,
43+
settings: {
44+
'import/resolver': {
45+
},
46+
},
47+
rules: {
48+
'@typescript-eslint/ban-ts-comment': 0,
49+
'@typescript-eslint/ban-types': [
50+
'error',
51+
{
52+
'extendDefaults': true,
53+
'types': {
54+
'{}': false,
55+
}
56+
},
57+
],
58+
'@typescript-eslint/no-empty-function': 0,
59+
'brace-style': ['error', 'stroustrup'],
60+
'default-case': [
61+
'error', {
62+
commentPattern: '^skip\\sdefault',
63+
},
64+
],
65+
'func-names': ['error', 'never'],
66+
'function-paren-newline': 0,
67+
'import/no-self-import': 0,
68+
'import/no-extraneous-dependencies': 0,
69+
'implicit-arrow-linebreak': ['warn', 'beside'],
70+
indent: [2, 'tab', { SwitchCase: 1 }],
71+
'no-tabs': [0, { allowIndentationTabs: true }],
72+
'linebreak-style': 0,
73+
'max-len': 0,
74+
'no-else-return': ['error', { allowElseIf: true }],
75+
'no-console': ['warn', { allow: ['warn', 'error', 'info', 'trace'] }],
76+
'no-const-assign': 'error',
77+
'no-debugger': 0,
78+
'no-new': 0,
79+
'no-undef': 0,
80+
'no-unused-vars': 1,
81+
'no-use-before-define': 0,
82+
'no-useless-escape': 0,
83+
'no-param-reassign': [
84+
'error', {
85+
props: true,
86+
ignorePropertyModificationsFor: ['field', 'model', 'el', 'item', 'state', 'Vue', 'vue'],
87+
},
88+
],
89+
'no-underscore-dangle': [
90+
'error', {
91+
allow: ['_data'],
92+
allowAfterThis: true,
93+
},
94+
],
95+
'no-plusplus': [
96+
'error', { allowForLoopAfterthoughts: true },
97+
],
98+
'object-curly-newline': ['error', {
99+
ObjectPattern: { multiline: false },
100+
}],
101+
'operator-linebreak': ['error', 'after'],
102+
'prefer-destructuring': [
103+
'error', {
104+
array: false,
105+
object: false,
106+
},
107+
{
108+
enforceForRenamedProperties: false,
109+
},
110+
],
111+
'space-before-function-paren': ['error', {
112+
anonymous: 'never',
113+
named: 'never',
114+
asyncArrow: 'always',
115+
}],
116+
'vue/attributes-order': ['error', {
117+
'alphabetical': true,
118+
'order': [
119+
'DEFINITION',
120+
'LIST_RENDERING',
121+
'CONDITIONALS',
122+
'RENDER_MODIFIERS',
123+
'GLOBAL',
124+
['UNIQUE', 'SLOT'],
125+
'TWO_WAY_BINDING',
126+
'OTHER_DIRECTIVES',
127+
'OTHER_ATTR',
128+
'EVENTS',
129+
'CONTENT',
130+
],
131+
}],
132+
'vue/html-closing-bracket-newline': 0,
133+
'vue/html-indent': 0,
134+
'vue/html-self-closing': 0,
135+
'vue/max-attributes-per-line': 0,
136+
'vue/no-multiple-template-root': 0,
137+
'vue/no-template-shadow': 0,
138+
'vue/no-v-for-template-key': 0,
139+
'vue/no-v-html': 0,
140+
'vue/singleline-html-element-content-newline': 0,
141+
'vue/sort-keys': ['error', 'asc', {
142+
caseSensitive: true,
143+
ignoreChildrenOf: ['model', 'defineProps'],
144+
ignoreGrandchildrenOf: ['computed', 'directives', 'inject', 'props', 'watch', 'defineProps'],
145+
minKeys: 2,
146+
natural: true,
147+
}],
148+
'vue/valid-template-root': 0,
149+
},
150+
};

Diff for: .github/CONTRIBUTING.md

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Contributing to this repository <!-- omit in toc -->
2+
3+
## Getting started <!-- omit in toc -->
4+
5+
Before you begin:
6+
- Have you read the [code of conduct](CODE_OF_CONDUCT.md)?
7+
- Check out the [existing issues](https://github.com/__USERNAME__/vuetify-plugin-template/issues).
8+
9+
### Don't see your issue? Open one
10+
11+
If you spot something new, open an issue using a [template](https://github.com/__USERNAME__/vuetify-plugin-template/issues/new/choose). We'll use the issue to have a conversation about the problem you want to fix.
12+
13+
### Ready to make a change? Fork the repo
14+
15+
Fork using the command line:
16+
17+
- [Fork the repo](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#fork-an-example-repository) so that you can make your changes without affecting the original project until you're ready to merge them.
18+
19+
### Make your update:
20+
21+
Make your changes to the file(s) you'd like to update.
22+
Update the CHANGELOG.md with the updates you made, please include the date and Github username.
23+
24+
### Open a pull request
25+
When you're done making changes and you'd like to propose them for review, open your PR (pull request).
26+
27+
### Submit your PR & get it reviewed
28+
- Once you submit your PR, others from the Vue Unicorn Log community will review it with you.
29+
- After that, we may have questions, check back on your PR to keep up with the conversation.
30+
31+
### Your PR is merged!
32+
Congratulations! The whole GitHub community thanks you. :sparkles:
33+
34+
Once your PR is merged, you will be proudly listed as a contributor in the [contributor chart](https://github.com/__USERNAME__/vuetify-plugin-template/graphs/contributors).
35+
36+
### Keep contributing as you use Vue Unicorn Log
37+
38+
Now that you're a part of the Vue Unicorn Log community, you can keep participating in many ways.
39+
40+
## Types of contributions
41+
You can contribute to the Vue Unicorn Log content and site in several ways. This repo is a place to discuss and collaborate on Vue Unicorn Log! Our small, but mighty team is maintaining this repo, to preserve our bandwidth, off topic conversations will be closed.
42+
43+
### :mega: Discussions
44+
Discussions are where we have conversations.
45+
46+
If you'd like help troubleshooting a Vue Unicorn Log PR you're working on, have a great new idea, or want to share something amazing you've learned, join us in [discussions](https://github.com/__USERNAME__/vuetify-plugin-template/discussions).
47+
48+
### :beetle: Issues
49+
[Issues](https://docs.github.com/en/github/managing-your-work-on-github/about-issues) are used to track tasks that contributors can help with.
50+
51+
If you've found something in the content or the website that should be updated, search open issues to see if someone else has reported the same thing. If it's something new, open an issue using a [template](https://github.com/__USERNAME__/vuetify-plugin-template/issues/new/choose). We'll use the issue to have a conversation about the problem you want to fix.
52+
53+
### :hammer_and_wrench: Pull requests
54+
A [pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) is a way to suggest changes in our repository.
55+
56+
To learn more about opening a pull request in this repo, see [Opening a pull request](#opening-a-pull-request) below.
57+
58+
### :question: Support
59+
We are a small team working hard to keep up with the documentation demands of a continuously changing product. Unfortunately, we just can't help with support questions in this repository. If you are experiencing a problem with GitHub, unrelated to our documentation, please [contact GitHub Support directly](https://support.github.com/contact). Any issues, discussions, or pull requests opened here requesting support will be given information about how to contact GitHub Support, then closed and locked.
60+
61+
If you're having trouble with your GitHub account, contact [Support](https://support.github.com/contact).
62+
63+
## Starting with an issue
64+
You can browse existing issues to find something that needs help!
65+
66+
### Labels
67+
Labels can help you find an issue you'd like to help with.
68+
69+
- The [`help wanted` label](https://github.com/__USERNAME__/vuetify-plugin-template/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) is for problems or updates that anyone in the community can start working on.
70+
- The [`documentation` label](https://github.com/__USERNAME__/vuetify-plugin-template/issues?q=is%3Aopen+is%3Aissue+label%3Adocumentation) is for problems or updates relating to the README.MD documentation.
71+
- The [`bug` label](https://github.com/__USERNAME__/vuetify-plugin-template/issues?q=is%3Aopen+is%3Aissue+label%3Abug) is for problems with the code and bugs.
72+
- The [`enhancement` label](https://github.com/__USERNAME__/vuetify-plugin-template/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) is for
73+
suggestions to improve the code or adding of additional features.
74+
75+
## Opening a pull request
76+
You can use the GitHub user interface for some small changes, like fixing a typo or updating a readme. You can also fork the repo and then clone it locally, to view changes and run your tests on your machine.
77+
78+
## Working in the Vue Unicorn Log repository
79+
Here's some information that might be helpful while working on a Vue Unicorn Log PR:
80+
81+
<!-- - [Development](/contributing/development.md) - This short guide describes how to get this app running on your local machine. -->
82+
83+
## Reviewing
84+
We (usually the Vue Unicorn Log team) review every single PR. The purpose of reviews is to create the best content we can for people who use GitHub.
85+
86+
- Reviews are always respectful, acknowledging that everyone did the best possible job with the knowledge they had at the time.
87+
- Reviews discuss content, not the person who created it.
88+
- Reviews are constructive and start conversation around feedback.
89+
90+
### Self review
91+
You should always review your own PR first.
92+
93+
<!-- ### Pull request template
94+
When you open a pull request, you must fill out the "Ready for review" template before we can review your PR. This template helps reviewers understand your changes and the purpose of your pull request. -->
95+
96+
### Suggested changes
97+
We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
98+
99+
As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).

Diff for: .github/FUNDING.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
custom: ["paypal.me/webdevnerdstuff"]
2+
patreon: webdevnerdstuff

0 commit comments

Comments
 (0)