eslint-plugin-svelte 2.23.1 → 2.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -184,6 +184,17 @@ module.exports = {
184
184
 
185
185
  See also <https://github.com/ota-meshi/svelte-eslint-parser#readme>.
186
186
 
187
+ ::: warning ❗ Attention
188
+
189
+ The TypeScript parser uses a singleton internally and it will only use the
190
+ options given to it when it was first initialized. If trying to change the
191
+ options for a different file or override, the parser will simply ignore the new
192
+ options (which may result in an error). See
193
+ [typescript-eslint/typescript-eslint#6778](https://github.com/typescript-eslint/typescript-eslint/issues/6778)
194
+ for some context.
195
+
196
+ :::
197
+
187
198
  #### settings.svelte
188
199
 
189
200
  You can change the behavior of this plugin with some settings.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-svelte",
3
- "version": "2.23.1",
3
+ "version": "2.24.0",
4
4
  "description": "ESLint plugin for Svelte using AST",
5
5
  "repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git",
6
6
  "homepage": "https://ota-meshi.github.io/eslint-plugin-svelte",
@@ -73,7 +73,7 @@
73
73
  "postcss": "^8.4.5",
74
74
  "postcss-load-config": "^3.1.4",
75
75
  "postcss-safe-parser": "^6.0.0",
76
- "svelte-eslint-parser": "^0.24.0"
76
+ "svelte-eslint-parser": "^0.25.0"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@1stg/browserslist-config": "^1.2.3",