Skip to content

Commit

Permalink
Disable attachComment
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Aug 8, 2021
1 parent 58e5714 commit 605e266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
babelrc: false,
configFile: false,
parserOpts: {
attachComment: false,
plugins: [
'jsx',
'doExpressions',
Expand Down
1 change: 1 addition & 0 deletions test/utils/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class Tester {
configFile: false,
...testerOptions.parserOptions.babelOptions,
parserOpts: {
attachComment: false,
...testerOptions.parserOptions.babelOptions.parserOpts,
plugins: babelPlugins,
},
Expand Down

0 comments on commit 605e266

Please sign in to comment.