-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
5,196 additions
and
2,853 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
ignorePatterns: ['dist', '.eslintrc.js', 'vite.config.js'], | ||
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, | ||
plugins: ['import'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:vue/essential', | ||
'plugin:prettier/recommended', | ||
'airbnb' | ||
], | ||
rules: { | ||
'vue/order-in-components': [ | ||
'error', | ||
{ | ||
order: [ | ||
'name', | ||
'directives', | ||
'components', | ||
'mixins', | ||
['provide', 'inject'], | ||
'model', | ||
'props', | ||
'filters', | ||
'data', | ||
'computed', | ||
'watch', | ||
'methods', | ||
'LIFECYCLE_HOOKS', | ||
'ROUTER_GUARDS', | ||
], | ||
}, | ||
], | ||
'vue/v-for-delimiter-style': ['error', 'of'], | ||
'vue/next-tick-style': ['error', 'promise'], | ||
'vue/require-prop-types': 'error', | ||
'vue/prop-name-casing': ['error', 'camelCase'], | ||
'vue/component-name-in-template-casing': ['error', 'PascalCase'], | ||
'vue/component-definition-name-casing': ['error', 'PascalCase'], | ||
'vue/custom-event-name-casing': ['error', 'camelCase'], | ||
'vue/no-duplicate-attr-inheritance': 'error', | ||
'vue/this-in-template': ['error', 'never'], | ||
'vue/v-on-style': ['error', 'shorthand'], | ||
'vue/no-multi-spaces': 'error', | ||
'vue/padding-line-between-blocks': 'error', | ||
'vue/component-tags-order': [ | ||
'error', | ||
{ | ||
order: ['template', 'script', 'style'], | ||
}, | ||
], | ||
'vue/v-on-event-hyphenation': ['error', 'never'], | ||
'vue/attribute-hyphenation': ['error', 'never'], | ||
'vue/v-bind-style': 'error', | ||
'vue/v-slot-style': ['error', 'shorthand'], | ||
'vue/no-unused-properties': [ | ||
'error', | ||
{ | ||
groups: ['props', 'data', 'computed', 'methods', 'setup'], | ||
ignorePublicMembers: true, | ||
}, | ||
], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
endOfLine: 'lf', | ||
printWidth: 100, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Vue 3 + Vite | ||
|
||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. | ||
|
||
## Recommended IDE Setup | ||
|
||
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.