Skip to content

Commit

Permalink
Add note about workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 6, 2025
1 parent 76a34fc commit e6fb56c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default [{
...globals.webextensions,
},

// This is for a workaround to avoid parsing error around static properties defined in class definitions.
// See also: https://stackoverflow.com/questions/42701440/eslint-parsing-error-unexpected-token-error-for-assigned-fat-arrow-prop
parser: babelParser,
parserOptions: {
requireConfigFile: false,
Expand Down

0 comments on commit e6fb56c

Please sign in to comment.