Skip to content

Commit

Permalink
Merge pull request #47 from SaekiTominaga/markuplint/disable-table-ro…
Browse files Browse the repository at this point in the history
…w-column-alignment

Disabled `table-row-column-alignment` rule
  • Loading branch information
SaekiTominaga committed May 14, 2024
2 parents 203f659 + 794da60 commit e090922
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/markuplint/.markuplintrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"no-refer-to-non-existent-id": true,
"require-accessible-name": true,
"required-h1": true,
"table-row-column-alignment": true,
"table-row-column-alignment": false,
"use-list": false,
"wai-aria": true,
"class-naming": false,
Expand Down
32 changes: 17 additions & 15 deletions packages/markuplint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@

#### Accessibility

| ルール ID | 本設定ファイル | `markuplint:recommended` | 差異 |
| ------------------------------------- | -------------- | ------------------------ | --------------- |
| `label-has-control` | true | true | |
| `landmark-roles` | true | true | |
| `neighbor-popovers` | true | true | |
| `no-ambiguous-navigable-target-names` | true | true | |
| `no-consecutive-br` | true | true | |
| `no-refer-to-non-existent-id` | true | true | |
| `require-accessible-name` | true | true | |
| `required-h1` | true | true | |
| `table-row-column-alignment` | true | true | |
| `use-list` | false | true | [](#use-list) |
| `wai-aria` | true | true | |
| ルール ID | 本設定ファイル | `markuplint:recommended` | 差異 |
| ------------------------------------- | -------------- | ------------------------ | --------------------------------- |
| `label-has-control` | true | true | |
| `landmark-roles` | true | true | |
| `neighbor-popovers` | true | true | |
| `no-ambiguous-navigable-target-names` | true | true | |
| `no-consecutive-br` | true | true | |
| `no-refer-to-non-existent-id` | true | true | |
| `require-accessible-name` | true | true | |
| `required-h1` | true | true | |
| `table-row-column-alignment` | false | true | [](#table-row-column-alignment) |
| `use-list` | false | true | [](#use-list) |
| `wai-aria` | true | true | |

#### Naming Convention

Expand Down Expand Up @@ -99,10 +99,12 @@

#### [`no-empty-palpable-content`](https://markuplint.dev/ja/docs/rules/no-empty-palpable-content)

v3.0.0 で追加された新ルール。

`markuplint:recommended` ではこのルールは有効化されていないが、当サイトでは `<div></div>` のように `<div>` 要素や `<span>` 要素の中身を空にすることはないため有効にしている。

#### [`table-row-column-alignment`](https://markuplint.dev/ja/docs/rules/table-row-column-alignment)

[v4.8.0](https://github.com/markuplint/markuplint/releases/tag/v4.8.0) で追加された新ルールだが、バグが多く意図しないエラーが多発するので一時的に無効にしている。

#### [`use-list`](https://markuplint.dev/ja/docs/rules/use-list)

個人で運営している当サイトではとくに必要なルールではないため無効にしている。
Expand Down

0 comments on commit e090922

Please sign in to comment.