Skip to content

Commit

Permalink
fix project root path
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Nov 9, 2022
1 parent 5164aa7 commit 79da67f
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')).compilerOptions;
Expand Down

0 comments on commit 79da67f

Please sign in to comment.