Skip to content

Commit

Permalink
fix(eslint-plugin-figma): Adjust parser options to upstream major rel…
Browse files Browse the repository at this point in the history
…ease
  • Loading branch information
Sidnioulz committed Nov 7, 2024
1 parent 8219081 commit 15391c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-figma/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class FigLanguage {
parse(file: File): ParseResult<FigmaFileNode> {
const result: ParseResult<DocumentNode> = new JSONLanguage({
mode: 'json',
}).parse(file);
}).parse(file, { languageOptions: { allowTrailingCommas: false } });
console.log(result);
return result as ParseResult<FigmaFileNode>;

Expand Down

0 comments on commit 15391c3

Please sign in to comment.