Skip to content

Commit

Permalink
0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 29, 2021
1 parent ef43f6b commit a67d74e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
6 changes: 5 additions & 1 deletion docs/rules/html-quotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "@ota-meshi/svelte/html-quotes"
description: "enforce quotes style of HTML attributes"
since: "v0.5.0"
---

# @ota-meshi/svelte/html-quotes

> enforce quotes style of HTML attributes
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

## :book: Rule Details
Expand Down Expand Up @@ -67,6 +67,10 @@ This rule enforces the quotes style of HTML attributes.
- `quoted` ... If `true`, enforce the use of quotes. If `false`, do not allow the use of quotes. The default is `false`.
- `avoidInvalidUnquotedInHTML` ... If `true`, enforces the use of quotes if they are invalid as HTML attribute when not using quotes. The default is `false`.

## :rocket: Version

This rule was introduced in @ota-meshi/eslint-plugin-svelte v0.5.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/html-quotes.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-not-function-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "@ota-meshi/svelte/no-not-function-handler"
description: "disallow use of not function in event handler"
since: "v0.5.0"
---

# @ota-meshi/svelte/no-not-function-handler

> disallow use of not function in event handler
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :gear: This rule is included in `"plugin:@ota-meshi/svelte/recommended"`.

## :book: Rule Details
Expand Down Expand Up @@ -55,6 +55,10 @@ Nothing.

[@ota-meshi/svelte/no-object-in-text-mustaches]: ./no-object-in-text-mustaches.md

## :rocket: Version

This rule was introduced in @ota-meshi/eslint-plugin-svelte v0.5.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-not-function-handler.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-object-in-text-mustaches.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "@ota-meshi/svelte/no-object-in-text-mustaches"
description: "disallow objects in text mustache interpolation"
since: "v0.5.0"
---

# @ota-meshi/svelte/no-object-in-text-mustaches

> disallow objects in text mustache interpolation
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :gear: This rule is included in `"plugin:@ota-meshi/svelte/recommended"`.

## :book: Rule Details
Expand Down Expand Up @@ -48,6 +48,10 @@ Nothing.

[@ota-meshi/svelte/no-not-function-handler]: ./no-not-function-handler.md

## :rocket: Version

This rule was introduced in @ota-meshi/eslint-plugin-svelte v0.5.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-object-in-text-mustaches.ts)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/shorthand-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "@ota-meshi/svelte/shorthand-attribute"
description: "enforce use of shorthand syntax in attribute"
since: "v0.5.0"
---

# @ota-meshi/svelte/shorthand-attribute

> enforce use of shorthand syntax in attribute
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

## :book: Rule Details
Expand Down Expand Up @@ -54,6 +54,10 @@ This rule enforces the use of the shorthand syntax in attribute.
- `"always"` ... Expects that the shorthand will be used whenever possible. This is default.
- `"never"` ... Ensures that no shorthand is used in any attribute.

## :rocket: Version

This rule was introduced in @ota-meshi/eslint-plugin-svelte v0.5.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/shorthand-attribute.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ota-meshi/eslint-plugin-svelte",
"version": "0.4.1",
"version": "0.5.0",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit a67d74e

Please sign in to comment.