Skip to content

Commit c387001

Browse files
committed
chore: 🐛 corrige tous les bugs de la doc
1 parent 66561de commit c387001

File tree

81 files changed

+11712
-20090
lines changed

Some content is hidden

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

81 files changed

+11712
-20090
lines changed

.babelrc.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.eslintrc.js renamed to .eslintrc.cjs

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
1+
/* eslint-env node */
12
require('@rushstack/eslint-patch/modern-module-resolution')
23

34
module.exports = {
45
root: true,
5-
globals: {
6-
defineEmits: 'readonly',
7-
defineProps: 'readonly',
8-
},
9-
env: {
10-
'vue/setup-compiler-macros': true,
11-
node: true,
12-
},
136
extends: [
147
'plugin:vue/vue3-recommended',
158
'@vue/eslint-config-typescript/recommended',
169
'@vue/standard',
1710
'plugin:storybook/recommended',
18-
],
19-
parser: 'vue-eslint-parser',
20-
parserOptions: {
21-
ecmaVersion: 2020,
22-
parser: '@typescript-eslint/parser',
23-
},
24-
plugins: [
25-
'vue',
26-
'html',
11+
2712
],
2813
rules: {
29-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
30-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
3114
'comma-dangle': [2, 'always-multiline'],
3215
'no-irregular-whitespace': 1,
3316
'@typescript-eslint/ban-ts-comment': [
@@ -54,6 +37,7 @@ module.exports = {
5437
files: [
5538
'cypress/support/*.{js,ts,jsx,tsx}',
5639
'cypress/integration/*.{spec,e2e}.{js,ts,jsx,tsx}',
40+
'cypress/e2e/**/*.{cy,spec,e2e}.{js,ts,jsx,tsx}',
5741
'src/**/*.ct.{js,ts,jsx,tsx}',
5842
'**/src/**/*.e2e.{j,t}s?(x)',
5943
],
@@ -63,4 +47,7 @@ module.exports = {
6347
extends: ['plugin:cypress/recommended'],
6448
},
6549
],
50+
parserOptions: {
51+
ecmaVersion: 'latest',
52+
},
6653
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ logs
159159
npm-debug.log*
160160
yarn-debug.log*
161161
yarn-error.log*
162+
pnpm-debug.log*
162163
lerna-debug.log*
163164

164165
# Diagnostic reports (https://nodejs.org/api/report.html)

.storybook/preview-head.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

.storybook/preview.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
import type { Preview } from "@storybook/vue3"
22
import { themes } from '@storybook/theming'
3-
import { withThemeByDataAttribute } from "@storybook/addon-themes"
4-
5-
import { FocusTrap } from 'focus-trap-vue'
6-
import { defineComponent } from 'vue'
3+
import { withThemeByDataAttribute } from "@storybook/addon-styling"
74

85
import VueDsfrTheme from './vue-dsfr-theme.js'
9-
import {OhVueIcon as VIcon} from 'oh-vue-icons'
10-
116
import '../src/assets/variables-fdr.css'
127
import '@gouvfr/dsfr/dist/dsfr.min.css'
138
import '@gouvfr/dsfr/dist/utility/utility.main.min.css'
@@ -16,6 +11,7 @@ import '@gouvfr/dsfr/dist/utility/icons/icons.main.min.css'
1611
import '../src/main.css'
1712

1813
import './theme.css'
14+
// import '@gouvfr/dsfr/dist/core/core.min.css'
1915

2016
export const decorators = [
2117
withThemeByDataAttribute({
@@ -89,7 +85,7 @@ const preview: Preview = {
8985
'Composants',
9086
],
9187
},
92-
}
88+
},
9389
},
9490
}
9591

babel.config.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

cypress/fixtures/example.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

cypress/plugins/index.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

cypress/support/commands.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

cypress/support/commands.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@
3434
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
3535
// }
3636
// }
37-
// }
37+
// }
38+
39+
export {}

0 commit comments

Comments
 (0)