Skip to content

Commit

Permalink
refactor: router-unocss-eslintXo, add router-unocss-eslintAntfu
Browse files Browse the repository at this point in the history
  • Loading branch information
idmytro committed Jun 10, 2023
1 parent e615c95 commit d0de8ce
Show file tree
Hide file tree
Showing 39 changed files with 3,813 additions and 5 deletions.
Binary file modified Vue3_starters.emm
Binary file not shown.
Binary file modified Vue3_starters.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions router-eslintXo-unocss/README.md

This file was deleted.

17 changes: 17 additions & 0 deletions router-unocss-eslintAntfu/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
extends: [
'@antfu',
'@unocss',
],
rules: {
'space-before-function-paren': 0,
'@typescript-eslint/space-before-function-paren': [
2,
{
anonymous: 'always',
named: 'always',
asyncArrow: 'always',
},
],
},
}
File renamed without changes.
5 changes: 5 additions & 0 deletions router-unocss-eslintAntfu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Vue 3 + Vite

```
npx degit idmytro/vue3-multi-starter/router-unocss-eslintXo myproject
```
File renamed without changes.
22 changes: 22 additions & 0 deletions router-unocss-eslintAntfu/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint --ext .js,.jsx,.vue src"
},
"dependencies": {
"vue": "^3.2.45",
"vue-router": "4"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.5",
"@unocss/eslint-config": "^0.53.1",
"@vitejs/plugin-vue": "^4.0.0",
"eslint": "^8.42.0",
"typescript": "5.0.4",
"unocss": "^0.53.1",
"vite": "^4.3.9"
}
}
Loading

0 comments on commit d0de8ce

Please sign in to comment.