Skip to content

Commit 306f228

Browse files
authored
Merge branch 'hudochenkov:main' into main
2 parents bb1c273 + 7d8fdc1 commit 306f228

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@
4040
},
4141
"prettier": "prettier-config-hudochenkov",
4242
"dependencies": {
43-
"typescript": "^5.6.3"
43+
"typescript": "^5.7.3"
4444
},
4545
"peerDependencies": {
46-
"postcss": "^8.4.21"
46+
"postcss": "^8.5.1"
4747
},
4848
"devDependencies": {
4949
"@types/jest": "^29.5.14",
50-
"eslint": "^8.57.1",
51-
"eslint-config-hudochenkov": "^10.0.3",
52-
"eslint-config-prettier": "^9.1.0",
53-
"globals": "^15.12.0",
50+
"eslint": "^9.18.0",
51+
"eslint-config-hudochenkov": "^11.0.0",
52+
"eslint-config-prettier": "^10.0.1",
53+
"globals": "^15.14.0",
5454
"jest": "^29.7.0",
5555
"jest-watch-typeahead": "^2.2.2",
56-
"postcss": "^8.4.47",
57-
"prettier": "^3.3.3",
56+
"postcss": "^8.5.1",
57+
"prettier": "^3.4.2",
5858
"prettier-config-hudochenkov": "^0.4.0"
5959
},
6060
"engines": {

0 commit comments

Comments
 (0)