Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
roelvv committed Sep 18, 2024
2 parents 79bee51 + 8d59da9 commit 86617b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ let config;

try {
config = configPath ? JSON.parse(readFileSync(configPath)) : undefined;
if (config && process.argv.includes('--ignoreExtends')) {
delete config.extends;
}
} catch (error) {
if (error instanceof SyntaxError) {
console.error(
Expand Down

0 comments on commit 86617b7

Please sign in to comment.