diff --git a/scripts/check-links-validity.js b/scripts/check-links-validity.js index c579b3d0e..d8e577166 100644 --- a/scripts/check-links-validity.js +++ b/scripts/check-links-validity.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import 'isomorphic-fetch' import { exec } from 'child_process' import { promisify } from 'util' diff --git a/site/cypress/integration/mon-entreprise/persistence-simulation.js b/site/cypress/integration/mon-entreprise/persistence-simulation.js index eeb71cdc7..76badc1b8 100644 --- a/site/cypress/integration/mon-entreprise/persistence-simulation.js +++ b/site/cypress/integration/mon-entreprise/persistence-simulation.js @@ -12,8 +12,6 @@ describe('Persistence (simulateur salarié)', function () { }) it('should persist the current simulation (persistSimulation)', function () { - console.log(inputSelector) - cy.get(inputSelector).first().type('{selectall}42') cy.contains('Passer').click() cy.contains('Passer').click() diff --git a/site/prerender.ts b/site/prerender.ts index 4da6a08c8..8c4798126 100644 --- a/site/prerender.ts +++ b/site/prerender.ts @@ -76,6 +76,7 @@ if (index > -1 && argv[index + 1]) { data.replace(/#\[prerender\]#/g, redirects.join('')) ) + // eslint-disable-next-line no-console console.log('Redirects added to ' + netlifyTomlPath) } else { throw new Error('tag #[prerender]# not found in ' + netlifyTomlPath) diff --git a/site/source/ATInternetTracking/Tracker.ts b/site/source/ATInternetTracking/Tracker.ts index b8805598d..01348c766 100644 --- a/site/source/ATInternetTracking/Tracker.ts +++ b/site/source/ATInternetTracking/Tracker.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import './smarttag.js' // Ci-dessous les indicateurs personnalisés de site et de page diff --git a/site/test/regressions/utils.ts b/site/test/regressions/utils.ts index eae743889..d4806114b 100644 --- a/site/test/regressions/utils.ts +++ b/site/test/regressions/utils.ts @@ -17,6 +17,7 @@ const roundResult = (arr: number[]) => arr.map((x) => Math.round(x)) export const engine = engineFactory(rules, { logger: { warn: () => undefined, + // eslint-disable-next-line no-console error: (m: string) => console.error(m), log: () => undefined, }, diff --git a/site/vite-iframe-script.config.ts b/site/vite-iframe-script.config.ts index 643d23b32..6f201d1bb 100644 --- a/site/vite-iframe-script.config.ts +++ b/site/vite-iframe-script.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ entry: './source/iframe-integration-script.js', name: 'monEntrepriseIframe', formats: ['iife'], - fileName: (f) => 'simulateur-iframe-integration.js', + fileName: () => 'simulateur-iframe-integration.js', }, emptyOutDir: false, },