Skip to content

Commit 7d8fdc1

Browse files
committed
Update dependencies
1 parent 1372ac3 commit 7d8fdc1

File tree

3 files changed

+1797
-1665
lines changed

3 files changed

+1797
-1665
lines changed

lib/parseJs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports.parseJs = function parseJs(inputCode, opts) {
2727
*
2828
* @param {ts.Node} node - The current node in the AST.
2929
*/
30-
// eslint-disable-next-line no-inner-declarations
30+
3131
function visit(node) {
3232
// Check if the node is a TaggedTemplateExpression
3333
if (isStyledComponent(node)) {
@@ -60,7 +60,7 @@ module.exports.parseJs = function parseJs(inputCode, opts) {
6060
if (!hasParseErrors) {
6161
visit(sourceFile);
6262
}
63-
} catch (error) {
63+
} catch {
6464
// Don't show parsing errors for JavaScript/TypeScript, because they are not relevant to CSS. And these errors most likely caught for user by JavaScript tools already
6565
}
6666

0 commit comments

Comments
 (0)