Skip to content

Commit

Permalink
Remove deprecated rules (sveltejs#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Jun 29, 2022
1 parent d9cb3c9 commit 4bfcd8e
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 263 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,6 @@ These rules relate to this plugin works:
| [@ota-meshi/svelte/comment-directive](https://ota-meshi.github.io/eslint-plugin-svelte/rules/comment-directive/) | support comment-directives in HTML template | :star: |
| [@ota-meshi/svelte/system](https://ota-meshi.github.io/eslint-plugin-svelte/rules/system/) | system rule for working this plugin | :star: |

## 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 |
|:--------|:------------|
| [@ota-meshi/svelte/dollar-prefixed-store-uses-vars](https://ota-meshi.github.io/eslint-plugin-svelte/rules/dollar-prefixed-store-uses-vars/) | (no replacement) |
| [@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/) |

<!--RULES_TABLE_END-->
<!--RULES_SECTION_END-->

Expand Down
10 changes: 0 additions & 10 deletions docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,3 @@ These rules relate to this plugin works:
|:--------|:------------|:---|
| [@ota-meshi/svelte/comment-directive](./rules/comment-directive.md) | support comment-directives in HTML template | :star: |
| [@ota-meshi/svelte/system](./rules/system.md) | system rule for working this plugin | :star: |

## 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 |
|:--------|:------------|
| [@ota-meshi/svelte/dollar-prefixed-store-uses-vars](./rules/dollar-prefixed-store-uses-vars.md) | (no replacement) |
| [@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) |
57 changes: 0 additions & 57 deletions docs/rules/dollar-prefixed-store-uses-vars.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/rules/no-non-optimized-style-attributes.md

This file was deleted.

45 changes: 0 additions & 45 deletions src/rules/dollar-prefixed-store-uses-vars.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/rules/no-non-optimized-style-attributes.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/utils/rules.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { RuleModule } from "../types"
import buttonHasType from "../rules/button-has-type"
import commentDirective from "../rules/comment-directive"
import dollarPrefixedStoreUsesVars from "../rules/dollar-prefixed-store-uses-vars"
import firstAttributeLinebreak from "../rules/first-attribute-linebreak"
import htmlQuotes from "../rules/html-quotes"
import indent from "../rules/indent"
Expand All @@ -13,7 +12,6 @@ import noDupeElseIfBlocks from "../rules/no-dupe-else-if-blocks"
import noDupeStyleProperties from "../rules/no-dupe-style-properties"
import noDynamicSlotName from "../rules/no-dynamic-slot-name"
import noInnerDeclarations from "../rules/no-inner-declarations"
import noNonOptimizedStyleAttributes from "../rules/no-non-optimized-style-attributes"
import noNotFunctionHandler from "../rules/no-not-function-handler"
import noObjectInTextMustaches from "../rules/no-object-in-text-mustaches"
import noShorthandStylePropertyOverrides from "../rules/no-shorthand-style-property-overrides"
Expand All @@ -33,7 +31,6 @@ import validCompile from "../rules/valid-compile"
export const rules = [
buttonHasType,
commentDirective,
dollarPrefixedStoreUsesVars,
firstAttributeLinebreak,
htmlQuotes,
indent,
Expand All @@ -45,7 +42,6 @@ export const rules = [
noDupeStyleProperties,
noDynamicSlotName,
noInnerDeclarations,
noNonOptimizedStyleAttributes,
noNotFunctionHandler,
noObjectInTextMustaches,
noShorthandStylePropertyOverrides,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions tests/src/rules/no-non-optimized-style-attributes.ts

This file was deleted.

0 comments on commit 4bfcd8e

Please sign in to comment.