Skip to content

Commit b9e4a8b

Browse files
committed
Update dependencies
Signed-off-by: Louis Chemineau <[email protected]>
1 parent 4133113 commit b9e4a8b

16 files changed

+4689
-12477
lines changed

.eslintrc.cjs

+19-26
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,23 @@
22
require('@rushstack/eslint-patch/modern-module-resolution')
33

44
module.exports = {
5-
root: true,
6-
extends: [
7-
'plugin:vue/vue3-essential',
8-
'eslint:recommended',
9-
'@vue/eslint-config-typescript',
10-
'@vue/eslint-config-standard',
11-
],
12-
overrides: [
13-
{
14-
files: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'],
15-
extends: ['plugin:cypress/recommended'],
16-
},
17-
],
18-
rules: {
19-
indent: ['error', 'tab'],
20-
'no-tabs': ['error', { allowIndentationTabs: true }],
21-
'comma-dangle': ['error', 'always-multiline'],
22-
'space-before-function-paren': ['error', {
23-
anonymous: 'always',
24-
named: 'never',
25-
asyncArrow: 'always',
26-
}],
27-
},
28-
parserOptions: {
29-
ecmaVersion: 'latest',
30-
},
5+
root: true,
6+
'extends': [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-typescript'
10+
],
11+
overrides: [
12+
{
13+
files: [
14+
'e2e/**/*.{test,spec}.{js,ts,jsx,tsx}'
15+
],
16+
'extends': [
17+
'plugin:playwright/recommended'
18+
]
19+
}
20+
],
21+
parserOptions: {
22+
ecmaVersion: 'latest'
23+
}
3124
}

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,11 @@ coverage
2828
*.sln
2929
*.sw?
3030

31+
*.tsbuildinfo
32+
33+
test-results/
34+
playwright-report/
35+
36+
3137
# Project's files
3238
public/cities.json

.vscode/extensions.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
3-
}
2+
"recommendations": [
3+
"Vue.volar",
4+
"ms-playwright.playwright",
5+
"dbaeumer.vscode-eslint"
6+
]
7+
}

e2e/tsconfig.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "@tsconfig/node20/tsconfig.json",
3+
"include": ["./**/*"]
4+
}

e2e/vue.spec.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { test, expect } from '@playwright/test';
2+
3+
// See here how to get started:
4+
// https://playwright.dev/docs/intro
5+
test('visits the app root url', async ({ page }) => {
6+
await page.goto('/');
7+
await expect(page.locator('div.greetings > h1')).toHaveText('You did it!');
8+
})

0 commit comments

Comments
 (0)