Skip to content

Commit 4bfcd8e

Browse files
authored
Remove deprecated rules (#162)
1 parent d9cb3c9 commit 4bfcd8e

15 files changed

+0
-263
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,6 @@ These rules relate to this plugin works:
314314
| [@ota-meshi/svelte/comment-directive](https://ota-meshi.github.io/eslint-plugin-svelte/rules/comment-directive/) | support comment-directives in HTML template | :star: |
315315
| [@ota-meshi/svelte/system](https://ota-meshi.github.io/eslint-plugin-svelte/rules/system/) | system rule for working this plugin | :star: |
316316

317-
## Deprecated
318-
319-
- :warning: We're going to remove deprecated rules in the next major release. Please migrate to successor/new rules.
320-
- :innocent: We don't fix bugs which are in deprecated rules since we don't have enough resources.
321-
322-
| Rule ID | Replaced by |
323-
|:--------|:------------|
324-
| [@ota-meshi/svelte/dollar-prefixed-store-uses-vars](https://ota-meshi.github.io/eslint-plugin-svelte/rules/dollar-prefixed-store-uses-vars/) | (no replacement) |
325-
| [@ota-meshi/svelte/no-non-optimized-style-attributes](https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-non-optimized-style-attributes/) | [@ota-meshi/svelte/require-optimized-style-attribute](https://ota-meshi.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/) |
326-
327317
<!--RULES_TABLE_END-->
328318
<!--RULES_SECTION_END-->
329319

docs/rules.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,3 @@ These rules relate to this plugin works:
7878
|:--------|:------------|:---|
7979
| [@ota-meshi/svelte/comment-directive](./rules/comment-directive.md) | support comment-directives in HTML template | :star: |
8080
| [@ota-meshi/svelte/system](./rules/system.md) | system rule for working this plugin | :star: |
81-
82-
## Deprecated
83-
84-
- :warning: We're going to remove deprecated rules in the next major release. Please migrate to successor/new rules.
85-
- :innocent: We don't fix bugs which are in deprecated rules since we don't have enough resources.
86-
87-
| Rule ID | Replaced by |
88-
|:--------|:------------|
89-
| [@ota-meshi/svelte/dollar-prefixed-store-uses-vars](./rules/dollar-prefixed-store-uses-vars.md) | (no replacement) |
90-
| [@ota-meshi/svelte/no-non-optimized-style-attributes](./rules/no-non-optimized-style-attributes.md) | [@ota-meshi/svelte/require-optimized-style-attribute](./rules/require-optimized-style-attribute.md) |

docs/rules/dollar-prefixed-store-uses-vars.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/rules/no-non-optimized-style-attributes.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/rules/dollar-prefixed-store-uses-vars.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/rules/no-non-optimized-style-attributes.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/utils/rules.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { RuleModule } from "../types"
22
import buttonHasType from "../rules/button-has-type"
33
import commentDirective from "../rules/comment-directive"
4-
import dollarPrefixedStoreUsesVars from "../rules/dollar-prefixed-store-uses-vars"
54
import firstAttributeLinebreak from "../rules/first-attribute-linebreak"
65
import htmlQuotes from "../rules/html-quotes"
76
import indent from "../rules/indent"
@@ -13,7 +12,6 @@ import noDupeElseIfBlocks from "../rules/no-dupe-else-if-blocks"
1312
import noDupeStyleProperties from "../rules/no-dupe-style-properties"
1413
import noDynamicSlotName from "../rules/no-dynamic-slot-name"
1514
import noInnerDeclarations from "../rules/no-inner-declarations"
16-
import noNonOptimizedStyleAttributes from "../rules/no-non-optimized-style-attributes"
1715
import noNotFunctionHandler from "../rules/no-not-function-handler"
1816
import noObjectInTextMustaches from "../rules/no-object-in-text-mustaches"
1917
import noShorthandStylePropertyOverrides from "../rules/no-shorthand-style-property-overrides"
@@ -33,7 +31,6 @@ import validCompile from "../rules/valid-compile"
3331
export const rules = [
3432
buttonHasType,
3533
commentDirective,
36-
dollarPrefixedStoreUsesVars,
3734
firstAttributeLinebreak,
3835
htmlQuotes,
3936
indent,
@@ -45,7 +42,6 @@ export const rules = [
4542
noDupeStyleProperties,
4643
noDynamicSlotName,
4744
noInnerDeclarations,
48-
noNonOptimizedStyleAttributes,
4945
noNotFunctionHandler,
5046
noObjectInTextMustaches,
5147
noShorthandStylePropertyOverrides,

tests/fixtures/rules/no-non-optimized-style-attributes/invalid/comment01-errors.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/fixtures/rules/no-non-optimized-style-attributes/invalid/comment01-input.svelte

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/fixtures/rules/no-non-optimized-style-attributes/invalid/key01-errors.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)