Skip to content

Commit

Permalink
chore: Disable lints for swc
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 2, 2024
1 parent 8b80674 commit 263fd57
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 46 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@swc/core": "^1.7.28",
"@swc/core": "1.7.29-nightly-20241001.1",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.7.4",
"oxc-transform": "^0.30.5",
Expand Down
90 changes: 45 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/memory/swc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ swcTransform(sourceText, {
}
},
preserveAllComments: false,
experimental: {
disableAllLints: true,
},
}
});
3 changes: 3 additions & 0 deletions src/transform.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ function swc(options: RunOptions) {
},
},
preserveAllComments: false,
experimental:{
disableAllLints: true,
},
},
});
}
Expand Down

0 comments on commit 263fd57

Please sign in to comment.