Skip to content

Commit

Permalink
add comments for us of future
Browse files Browse the repository at this point in the history
  • Loading branch information
VachetVirginie committed Jul 24, 2024
1 parent 9eb2dc6 commit af3b6e0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/synapse-bridge/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,26 @@ export default antfu({
'style/indent': 'off',
'style/quotes': ['error', 'single'],
'style/no-tabs': 'off',
// regles de l'extension vuejs-accessibility non comprises dans la version recommanded
'vuejs-accessibility/no-aria-hidden-on-focusable':'error',
'vuejs-accessibility/no-onchange': 'error',
'vuejs-accessibility/no-role-presentation-on-focusable': 'error',
},
}, {
// ignore les fichiers dans public
ignores: ['public/**/*'],
}, {
},
// ne tient pas compte de la regle par default (160 caracteres) pour les fichiers dans le tableau
{
files: ['**/*.json', '**/*.md', '**/*.spec.ts'],
ignores: ['public/**/*.json'],
rules: {
'style/max-len': ['error', { code: 600, tabWidth: 4 }],
},

}, {
},
// ne tient pas compte de la regle 'style/max-len': 'off' pour les fichiers dans le tableau
{
files: ['src/elements/FranceConnectBtn/FranceConnectBtn.vue', 'src/elements/FilePreview/FilePreview.vue'],
rules: {
'style/max-len': 'off',
Expand Down

0 comments on commit af3b6e0

Please sign in to comment.