Skip to content

Commit

Permalink
Fix project eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Nov 9, 2022
1 parent 0a2b17d commit 2c308ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .project.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');

const projectRootPath = fs.realpathSync('./project'); // __dirname
const projectRootPath = fs.existsSync('./project') ? fs.realpathSync('./project') : fs.realpathSync('./../../../');
const packageJson = require(path.join(projectRootPath, 'package.json'));
const jsConfig = require(path.join(projectRootPath, 'jsconfig.json')).compilerOptions;

Expand Down

0 comments on commit 2c308ee

Please sign in to comment.