Skip to content

Commit d2022c0

Browse files
committed
fix(lint): corrige l'ordre des imports dans .storybook/preview.ts
1 parent 73a69b5 commit d2022c0

File tree

6 files changed

+63
-101
lines changed

6 files changed

+63
-101
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
run: pnpm lint --quiet
3535
- name: Check exports
3636
run: pnpm check-exports-ci
37+
- name: Install Playwright browsers
38+
run: pnpm exec playwright install --with-deps chromium
3739
- name: Test
3840
run: pnpm test
39-
- name: Tests storybook
40-
run: pnpm test:storybook
4141
# - name: Build Storybook
4242
# run: pnpm build-storybook --quiet
4343
# - name: Install Playwright browsers (ensuring compatibility)

.storybook/preview.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ import VIcon from '../src/components/VIcon/VIcon.vue'
99

1010
import VueDsfrTheme from './vue-dsfr-theme.js'
1111
import '../src/assets/variables-fdr.css'
12+
import '../src/main.css'
1213
import '@gouvfr/dsfr/dist/core/core.main.min.css'
1314
import '@gouvfr/dsfr/dist/scheme/scheme.min.css'
1415
import '@gouvfr/dsfr/dist/component/component.main.min.css'
1516
import '@gouvfr/dsfr/dist/utility/utility.main.min.css'
1617
import '@gouvfr/dsfr/dist/utility/icons/icons.main.min.css'
17-
18-
import '../src/main.css'
19-
2018
import './theme.css'
2119
// import '@gouvfr/dsfr/dist/core/core.min.css'
2220

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default antfu({
9898
},
9999
},
100100
{
101-
files: ['**/docs/**/*.md'],
101+
files: ['**/*.md', '**/*.md/**'],
102102
rules: {
103103
'import-x/order': 'off',
104104
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"vite-node": "^3.2.4",
161161
"vite-plugin-full-reload": "^1.2.0",
162162
"vitepress": "^1.6.4",
163-
"vitest": "^4.0.14",
163+
"vitest": "^4.0.15",
164164
"vue-demi": "^0.14.10",
165165
"vue-tsc": "^2.2.12"
166166
},

0 commit comments

Comments
 (0)