Skip to content

Commit

Permalink
temp: log context
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Apr 19, 2024
1 parent f1e7cd2 commit 727839a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ exports.default = function parse(path, content, context) {
if (context == null) { throw new Error('need context to parse properly'); }

// ESLint in "flat" mode only sets context.languageOptions.parserOptions
console.log(context);
let parserOptions = context.languageOptions && context.languageOptions.parserOptions || context.parserOptions;
const parserOrPath = getParser(path, context);

Expand Down

0 comments on commit 727839a

Please sign in to comment.