Skip to content

Commit 5a01092

Browse files
committed
Adding linted files
1 parent 1ee7724 commit 5a01092

File tree

146 files changed

+2282
-3696
lines changed

Some content is hidden

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

146 files changed

+2282
-3696
lines changed

Diff for: .github/workflows/tests.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tests
2-
2+
33
on:
44
push:
55
branches:
@@ -9,22 +9,22 @@ on:
99
branches:
1010
- develop
1111
- main
12-
12+
1313
jobs:
1414
ci:
1515
runs-on: ubuntu-latest
16-
16+
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v3
20-
20+
2121
- name: Setup PHP
2222
uses: shivammathur/setup-php@v2
2323
with:
2424
php-version: 8.2
2525
tools: composer:v2
2626
coverage: xdebug
27-
27+
2828
- name: Setup Node.js
2929
uses: actions/setup-node@v3
3030
with:
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Install Dependencies
4141
run: composer install --no-interaction --prefer-dist --optimize-autoloader
42-
42+
4343
- name: Copy Environment File
4444
run: cp .env.example .env
4545

@@ -53,4 +53,4 @@ jobs:
5353
run: npm run build
5454

5555
- name: Tests
56-
run: ./vendor/bin/pest --ci
56+
run: ./vendor/bin/pest --ci

Diff for: .prettierrc

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"],
88
"tailwindFunctions": ["clsx", "cn"],
99
"tabWidth": 4,
10-
"overrides": [{
11-
"files": "**/*.yml",
12-
"options": {
13-
"tabWidth": 2
10+
"overrides": [
11+
{
12+
"files": "**/*.yml",
13+
"options": {
14+
"tabWidth": 2
15+
}
1416
}
15-
}]
16-
}
17+
]
18+
}

Diff for: README.md

+13-9
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,28 @@ To install the starter kit, run the following command:
1818
1. git clone https://github.com/laravel/vue-starter-kit
1919
2. cd vue-starter-kit
2020
3. git checkout develop
21-
3. copy .env.example .env
22-
4. install dependencies `npm install && composer install`
23-
5. run migrations `php artisan migrate`
24-
6. add encryption key `php artisan key:generate`
25-
7. start the asset watcher `npm run dev`
21+
4. copy .env.example .env
22+
5. install dependencies `npm install && composer install`
23+
6. run migrations `php artisan migrate`
24+
7. add encryption key `php artisan key:generate`
25+
8. start the asset watcher `npm run dev`
2626

2727
Visit the URL for your app and you're good to go!
2828

2929
## Features
3030

3131
This Starter Kit includes the following features:
3232

33-
- **User Authentication** (login, register, password reset, email verify, and password confirmation)
34-
- **Dashboard Page** (Auth Protected User Dashboard Page)
35-
- **Settings Page** (Profile Update/Delete, Password Update, Appearance)
33+
- **User Authentication** (login, register, password reset, email verify, and password confirmation)
34+
- **Dashboard Page** (Auth Protected User Dashboard Page)
35+
- **Settings Page** (Profile Update/Delete, Password Update, Appearance)
3636

3737
## Front-end App Structure
3838

3939
The majority of the front-end code is located in the `resources/js` folder. We follow Vue.js best practices and conventions for organizing these files and folders. The structure follows these naming conventions:
4040

4141
**Folders**: Use kebab-case
42+
4243
```
4344
resources/js/
4445
├── components/ # Reusable Vue components
@@ -50,13 +51,15 @@ resources/js/
5051
```
5152

5253
**Components**: Use PascalCase for component files
54+
5355
```
5456
components/
5557
└── AppearanceTabs.vue
5658
└── NavigationBar.vue
5759
```
5860

5961
**Composables/Utilities**: Use camelCase for utility files and composables
62+
6063
```
6164
composables/
6265
└── useAuth.ts
@@ -83,4 +86,5 @@ Here's a quick example of using an icon in one of your Vue Components:
8386
<Rocket />
8487
<span class="text-lg font-medium">Vue Starter Kit</span>
8588
</p>
86-
</template>
89+
</template>
90+
```

Diff for: components.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"lib": "@/lib",
1919
"hooks": "@/hooks"
2020
}
21-
}
21+
}

0 commit comments

Comments
 (0)