Skip to content

Commit

Permalink
chore(svelte-query): Add no-svelte-internal eslint rule (#7417)
Browse files Browse the repository at this point in the history
* chore(svelte-query): Add no-svelte-internal eslint rule

* pnpm dedupe
  • Loading branch information
lachlancollins committed May 12, 2024
1 parent 1839ff6 commit 246dd0f
Show file tree
Hide file tree
Showing 8 changed files with 1,405 additions and 3,038 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -69,7 +69,7 @@
"lint-staged": "^15.2.2",
"nx": "17.3.1",
"prettier": "^4.0.0-alpha.8",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-svelte": "^3.2.3",
"publint": "^0.2.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/svelte-query-devtools/.eslintrc.cjs
Expand Up @@ -16,6 +16,9 @@ const config = {
},
},
],
rules: {
'svelte/no-svelte-internal': 'error',
},
}

module.exports = config
2 changes: 1 addition & 1 deletion packages/svelte-query-devtools/package.json
Expand Up @@ -42,7 +42,7 @@
"@sveltejs/package": "^2.2.6",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tanstack/svelte-query": "workspace:*",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-svelte": "^2.39.0",
"svelte": "^4.2.10",
"svelte-check": "^3.6.4",
"svelte-eslint-parser": "^0.33.1"
Expand Down
3 changes: 3 additions & 0 deletions packages/svelte-query-persist-client/.eslintrc.cjs
Expand Up @@ -16,6 +16,9 @@ const config = {
},
},
],
rules: {
'svelte/no-svelte-internal': 'error',
},
}

module.exports = config
2 changes: 1 addition & 1 deletion packages/svelte-query-persist-client/package.json
Expand Up @@ -44,7 +44,7 @@
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tanstack/svelte-query": "workspace:*",
"@testing-library/svelte": "^4.1.0",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-svelte": "^2.39.0",
"svelte": "^4.2.10",
"svelte-check": "^3.6.4",
"svelte-eslint-parser": "^0.33.1"
Expand Down
3 changes: 3 additions & 0 deletions packages/svelte-query/.eslintrc.cjs
Expand Up @@ -16,6 +16,9 @@ const config = {
},
},
],
rules: {
'svelte/no-svelte-internal': 'error',
},
}

module.exports = config
2 changes: 1 addition & 1 deletion packages/svelte-query/package.json
Expand Up @@ -49,7 +49,7 @@
"@sveltejs/package": "^2.2.6",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/svelte": "^4.1.0",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-svelte": "^2.39.0",
"svelte": "^4.2.10",
"svelte-check": "^3.6.4",
"svelte-eslint-parser": "^0.33.1"
Expand Down

0 comments on commit 246dd0f

Please sign in to comment.