Ignore some eslint error about log
parent
eccbea537d
commit
3082af0caf
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable no-console */
|
||||
import 'isomorphic-fetch'
|
||||
import { exec } from 'child_process'
|
||||
import { promisify } from 'util'
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable no-console */
|
||||
import './smarttag.js'
|
||||
|
||||
// Ci-dessous les indicateurs personnalisés de site et de page
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue