Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 18, 2021
1 parent 895ffc1 commit f14d5f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/rules/max-attributes-per-line.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/max-attributes-per-line"
description: "enforce the maximum number of attributes per line"
since: "v0.2.0"
---

# @ota-meshi/svelte/max-attributes-per-line

> enforce the maximum number of attributes per line
- :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 @@ -77,6 +77,10 @@ There is a configurable number of attributes that are acceptable in one-line cas
- `singleline` ... The number of maximum attributes per line when the opening tag is in a single line. Default is `1`.
- `multiline` ... The number of maximum attributes per line when the opening tag is in multiple lines. Default is `1`.

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/max-attributes-per-line.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.1.0",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit f14d5f9

Please sign in to comment.