diff --git a/configs/tslint.js b/configs/tslint.js
index <HASH>..<HASH> 100644
--- a/configs/tslint.js
+++ b/configs/tslint.js
@@ -297,9 +297,16 @@ module.exports = {
 
 function getRulesDir() {
   let fakeIndexFilePath = resolve.sync('@magicspace/tslint-rules/bld/rules', {
+    basedir: __dirname,
     isFile(fileName) {
       if (Path.basename(fileName) === 'index.js') {
-        return true;
+        let dirName = Path.dirname(fileName);
+
+        try {
+          return FS.statSync(dirName).isDirectory();
+        } catch (error) {
+          return false;
+        }
       }
 
       try {
Fix isFile callback for resolving