Found fs.statSync with non literal argument at index 0 Open
fs.existsSync(RERUN) && fs.statSync(RERUN).size !== 0
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Found fs.existsSync with non literal argument at index 0 Open
fs.existsSync(RERUN) && fs.statSync(RERUN).size !== 0
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Found fs.mkdirSync with non literal argument at index 0 Open
fs.mkdirSync(`test-results/${profile}`, { recursive: true })
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
TAGS = `${TAGS}'`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('BASE_CONFIG - rest2', rval)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ยท
Open
function generateConfig (profile) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ,
Open
'./node_modules/@windyroad/cucumber-js-throwables/lib/custom-cucumber-syntax.js'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
'--require-module @babel/register --require-module @babel/polyfill'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/filename-case' was not found. Open
const fs = require('fs')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/no-null' was not found. Open
const fs = require('fs')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const RERUN = `@cucumber-${profile}.rerun`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/prevent-abbreviations' was not found. Open
const fs = require('fs')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
fs.mkdirSync(`test-results/${profile}`, { recursive: true })
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
TAGS = `${TAGS} and @rest2`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const fs = require('fs')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/no-process-exit' was not found. Open
const fs = require('fs')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const REQUIRE_GLOB = 'test/js/**/*.js'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
})}'`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('BASE_CONFIG - cli', rval)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
return rval
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('BASE_CONFIG', BASE_CONFIG)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
: NON_RERUN_GLOB
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ,
Open
client: 'rest'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
: `--tags 'not(@not-${profile}) and not(@geo)`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
TAGS = `${TAGS} and @rest2`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
)}' ${MODULES} --require ${REQUIRE_GLOB} ${NO_STRICT} --format rerun:${RERUN} --format json:test-results/${profile}/results.cucumber ${FAIL_FAST}`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
})}'`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
return rval
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ,
Open
starter: 'cli'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ,
Open
cli2: generateConfig('cli2')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const NO_STRICT = process.env.NO_STRICT || '--no-strict'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const NON_RERUN_GLOB = `test/resources/features/**/*.feature ${TAGS}`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
return rval
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const rval = BASE_CONFIG
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
return rval
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
})}'`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('BASE_CONFIG - rest', rval)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
return BASE_CONFIG
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('BASE_CONFIG - cli2', rval)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const FAIL_FAST = process.env.FAIL_FAST || '--fail-fast'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ,
Open
client: 'rest2'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/