I'm getting the below tslint error after i started using nock in my tests.
Failed to load <project-folder>\node_modules\nock\types\tslint.json: Invalid "extends" configuration value - could not require "dtslint/dtslint.json". Review the Node lookup algorithm (https://nodejs.org/api/modules.html#modules_all_together) for the approximate method TSLint uses to find the referenced configuration file.
Node version - 10.16.2 Nock version - 11.3.5
TSLint Config
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"ordered-imports": [false],
"object-literal-sort-keys": false
},
"rulesDirectory": [],
"linterOptions": {
"exclude": ["node_modules/**"]
}
}
Test script in package json
tslint --project tsconfig.json **/*.ts && jest --colors --coverage --passWithNoTests
When i use nock version 10.0.6, i don't see the error. Has anyone faced this before?