Skip to content

Commit

Permalink
Fix JSX elements not having their path resolved
Browse files Browse the repository at this point in the history
adeira-source-id: dca60037b45088cd07e71a3c3fdc938d0c30de4e
  • Loading branch information
itsdouges authored and triplex-bot committed Jan 8, 2024
1 parent ac649da commit ee15d16
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-ligers-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@triplex/server": patch
---

Fix inferring jsx element locations for certain scenarios.
20 changes: 11 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"extends": ["@nkzw"],
"ignorePatterns": ["dist", "build", "syntax-error.tsx"],
"extends": ["@nkzw", "plugin:playwright/recommended"],
"ignorePatterns": [
"dist",
"build",
"playwright-report",
"test-results",
"syntax-error.tsx"
],
"overrides": [
{
"files": ["**/__test__/**", "**/__tests__/**"],
"rules": {
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["**/create-triplex-project/templates/**", "*.d.ts"],
"files": ["**/create-triplex-project/templates/**"],
"rules": {
"header/header": "off"
}
Expand Down Expand Up @@ -40,8 +40,10 @@
"no-inner-declarations": "off",
"no-unused-expressions": "off",
"prefer-const": "off",
"playwright/no-focused-test": "off",
"react/no-unknown-property": "off",
"unicorn/prefer-ternary": "off",
"space-before-function-paren": "off",
"unicorn/prefer-top-level-await": "off"
}
}

0 comments on commit ee15d16

Please sign in to comment.