Skip to content

Commit df50580

Browse files
committed
Failing test
1 parent 82ef357 commit df50580

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"test:multipleTsconfigs": "eslint --ext ts,tsx tests/multipleTsconfigs",
4343
"test:withJsExtension": "node tests/withJsExtension/test.js && eslint --ext ts,tsx tests/withJsExtension",
4444
"test:withPaths": "eslint --ext ts,tsx tests/withPaths",
45+
"test:withPathsAndNestedBaseUrl": "eslint --ext ts,tsx tests/withPathsAndNestedBaseUrl",
4546
"test:withQuerystring": "eslint --ext ts,tsx tests/withQuerystring",
4647
"test:withoutPaths": "eslint --ext ts,tsx tests/withoutPaths",
4748
"type-coverage": "type-coverage --cache --detail --ignore-catch --strict --update"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('../baseEslintConfig')(__dirname)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// import using tsconfig.json `baseUrl`
2+
import 'foo'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// import using tsconfig.json path mapping
2+
import 'other/bar'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "root/",
4+
"paths": {
5+
"other/*": ["../other/*"]
6+
}
7+
},
8+
"files": ["root/foo.ts", "other/bar.ts"]
9+
}

0 commit comments

Comments
 (0)