- Linting: Avoid warnings for instrumented files (currently test files depend on instrumentation step, so we don't want CI checking the paths if not created there)

master
Brett Zamir 2020-07-13 17:06:32 +08:00
parent b3abca4917
commit e0d68671ea
1 changed files with 2 additions and 2 deletions

View File

@ -292,8 +292,8 @@ module.exports = {
// These errors are caused in Cypress files if user has not
// yet instrumented code; need to reinvestigate why we had to
// instrument separately from nyc mocha
'import/no-unresolved': 'warn',
'node/no-missing-import': 'warn',
'import/no-unresolved': ['error', {ignore: ['/instrumented/']}],
'node/no-missing-import': 'off',
'chai-expect-keywords/no-unsupported-keywords': [
'error', {