eslint-plugin-svelte
Advanced tools
Comparing version 2.10.0 to 2.11.0
@@ -79,2 +79,6 @@ "use strict"; | ||
type: "suggestion", | ||
deprecated: true, | ||
replacedBy: { | ||
note: "This rule is no longer needed when using svelte-eslint-parser>=v0.19.0.", | ||
}, | ||
}, | ||
@@ -81,0 +85,0 @@ create(context) { |
@@ -42,3 +42,5 @@ import type { JSONSchema4 } from "json-schema"; | ||
deprecated?: boolean; | ||
replacedBy?: string[]; | ||
replacedBy?: string[] | { | ||
note: string; | ||
}; | ||
type: "problem" | "suggestion" | "layout"; | ||
@@ -73,3 +75,5 @@ } | ||
deprecated?: boolean; | ||
replacedBy?: string[]; | ||
replacedBy?: string[] | { | ||
note: string; | ||
}; | ||
type: "problem" | "suggestion" | "layout"; | ||
@@ -76,0 +80,0 @@ } |
{ | ||
"name": "eslint-plugin-svelte", | ||
"version": "2.10.0", | ||
"version": "2.11.0", | ||
"description": "ESLint plugin for Svelte using AST", | ||
@@ -76,3 +76,3 @@ "repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git", | ||
"sourcemap-codec": "^1.4.8", | ||
"svelte-eslint-parser": "^0.18.0" | ||
"svelte-eslint-parser": "^0.19.0" | ||
}, | ||
@@ -111,3 +111,3 @@ "devDependencies": { | ||
"@types/mocha": "^10.0.0", | ||
"@types/node": "^16.0.0", | ||
"@types/node": "^18.11.0", | ||
"@types/postcss-safe-parser": "^5.0.1", | ||
@@ -154,3 +154,3 @@ "@types/prismjs": "^1.26.0", | ||
"pako": "^2.0.3", | ||
"postcss-nested": "^5.0.6", | ||
"postcss-nested": "^6.0.0", | ||
"prettier": "^2.2.1", | ||
@@ -165,3 +165,3 @@ "prettier-plugin-pkg": "^0.17.0", | ||
"stylelint": "^14.0.0", | ||
"stylelint-config-standard": "^28.0.0", | ||
"stylelint-config-standard": "^29.0.0", | ||
"stylus": "^0.59.0", | ||
@@ -168,0 +168,0 @@ "svelte": "^3.46.1", |
@@ -330,3 +330,2 @@ # Introduction | ||
|:--------|:------------|:---| | ||
| [svelte/@typescript-eslint/no-unnecessary-condition](https://ota-meshi.github.io/eslint-plugin-svelte/rules/@typescript-eslint/no-unnecessary-condition/) | disallow conditionals where the type is always truthy or always falsy | :wrench: | | ||
| [svelte/no-inner-declarations](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-inner-declarations/) | disallow variable or `function` declarations in nested blocks | :star: | | ||
@@ -344,2 +343,11 @@ | [svelte/no-trailing-spaces](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/) | disallow trailing whitespace at the end of lines | :wrench: | | ||
## Deprecated | ||
- :warning: We're going to remove deprecated rules in the next major release. Please migrate to successor/new rules. | ||
- :innocent: We don't fix bugs which are in deprecated rules since we don't have enough resources. | ||
| Rule ID | Replaced by | | ||
|:--------|:------------| | ||
| [svelte/@typescript-eslint/no-unnecessary-condition](https://ota-meshi.github.io/eslint-plugin-svelte/rules/@typescript-eslint/no-unnecessary-condition/) | This rule is no longer needed when using svelte-eslint-parser>=v0.19.0. | | ||
<!--RULES_TABLE_END--> | ||
@@ -346,0 +354,0 @@ <!--RULES_SECTION_END--> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
468052
10558
377
+ Addedsvelte-eslint-parser@0.19.3(transitive)
- Removedsvelte-eslint-parser@0.18.4(transitive)
Updatedsvelte-eslint-parser@^0.19.0