Skip to content

Commit

Permalink
fallback path
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Nov 8, 2022
1 parent 561505f commit 0c58fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .project.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const fs = require('fs');
const path = require('path');

const projectRootPath = fs.realpathSync('./../../../');
const projectRootPath = fs.realpathSync('./project'); // __dirname
const packageJson = require(path.join(projectRootPath, 'package.json'));
const jsConfig = require(path.join(projectRootPath, 'jsconfig.json'))
Expand Down

0 comments on commit 0c58fc9

Please sign in to comment.