All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.0 (2024-12-12)
ESLint v9 及び FlatConfig への対応をしました。
これにともない、ESLint v8 以下及び LegacyConfig では利用できなくなりました。
0.5.20 (2024-11-25)
0.5.19 (2024-11-25)
- エラーメッセージ生成ミスを修正 (4ea11f1)
0.5.18 (2024-11-25)
0.5.17 (2024-11-04)
0.5.16 (2024-10-25)
0.5.15 (2024-09-10)
- README.md内のIncorrect examplesを修正 (fe0f7d2)
0.5.14 (2024-07-02)
- best-practice-for-data-test-attributeを追加 (#141) (30a8f00)
- ButtonやTextLinkコンポーネントにprefix, suffixの両属性を同時に設定できないルールを追加 (1eb7568)
0.5.13 (2024-06-21)
- ButtonやTextLinkコンポーネントにprefix, suffixの両属性を同時に設定できないルールを追加 (1eb7568)
0.5.12 (2024-06-10)
0.5.11 (2024-06-06)
0.5.10 (2024-04-26)
0.5.9 (2024-04-22)
- a11y-prohibit-input-maxlength-attribute (#135) (9f9d010)
- a11y系コンポーネントでBase,BaseColumnにas="section"などSectioningContentが指定された場合、outlineが切られていると判断するよう修正 (#138) (7b62c62)
- best-practice-for-layouts に を に置き換えることを促すチェックを追加 (#133) (5835530)
- best-practice-for-layoutsでStackコンポーネントにgap={0}が指定されている場合、適切に置き換え・または削除を促すように修正 (#137) (2a11919)
0.5.8 (2024-04-09)
- a11y-prohibit-input-maxlength-attribute (#135) (9f9d010)
- best-practice-for-layouts に を に置き換えることを促すチェックを追加 (#133) (5835530)
0.5.7 (2024-04-01)
- a11y-delegate-element-has-role-presentationでas, forwardedAsにform, fieldsetが指定されている場合、インタファクティブな要素として扱うように修正 (#132) (3d629fa)
- a11y-replace-unreadable-symbol (#128) (9410ff9)
0.5.6 (2024-03-29)
0.5.5 (2024-03-29)
0.5.4 (2024-03-29)
- a11y-heading-in-sectioning-contentで title, もしくはheading属性がSectioningContent系コンポーネントに設定されている場合、headingがあると判定するように修正 (#129) (93bbd19)
0.5.3 (2024-03-26)
- a11y-heading-in-sectioning-contentでHeadingを持たないSectioning Contentを検知するように修正 (#124) (8b96de0)
- smarthr-ui/Layouts系コンポーネントの利用方法をチェックする best-practice-for-layouts ルールを追加する (#126) (e0324e4)
- a11y-input-in-form-control で Clusterを拡張する際のチェックを追加 (#125) (f723e24)
- a11y-numbered-text-within-olのチェックで、属性の値でstyleに数値を指定しているような値の場合、無視する (#123) (77a6278)
0.5.2 (2024-03-17)
0.5.1 (2024-03-17)
0.5.0 (2024-03-11)
- spread attributesが指定されている場合、ruleをcorrectにする smartr オプションを allow-spread-attributes オプションにリネームする (#119)
- spread attributesが指定されている場合、ruleをcorrectにする smartr オプションを allow-spread-attributes オプションにリネームする (#119) (25752bb)
0.4.2 (2024-03-03)
0.4.1 (2024-02-21)
- a11y-numbered-text-within-olを追加する (#105) (167b92f)
- ComboBoxなどのinputAttributesでtitle属性が指定された場合、擬似的にラベルが付いていると判定するように修正 (#113) (5f3b594)
0.4.0 (2024-02-05)
- 利用者がいなくなったsmarthr/redundant-nameを削除する (#111)
- a11y-input-in-form-controlでlabelが設定されている可能性が高いRadio, Checkboxの複数形コンポーネントを正しく判定できるようにする (#112) (77ee8f4)
0.3.27 (2024-01-28)
0.3.26 (2024-01-24)
0.3.25 (2024-01-23)
- a11y-input-in-form-controlを追加する (#98) (fb7e77d)
- a11y-prohibit-useless-sectioning-fragmentを追加する (#106) (994c040)
0.3.24 (2024-01-19)
0.3.23 (2024-01-16)
0.3.22 (2024-01-16)
- a11y-heading-in-sectioning-contentのLayout系コンポーネントのas属性をチェックする際の処理がエラーハンドリング出来ていなかったため対応 (#101) (f77d686)
0.3.21 (2024-01-16)
- a11y-delegate-element-has-role-presentationでインタラクティブな要素のチェック処理を厳密に行う (#100) (e715bff)
- import時のrenameの際、typeの場合はチェックを無視する設定を追加 (#99) (cae899f)
0.3.20 (2024-01-02)
0.3.19 (2024-01-01)
0.3.18 (2023-12-30)
0.3.17 (2023-12-30)
- a11y-delegate-element-has-role-presentationのインタラクティブなコンポーネントであることの判定で、小文字始まりのコンポーネントの場合判定ミスされるバグを修正 (#94) (50a8296)
0.3.16 (2023-12-30)
0.3.15 (2023-11-29)
0.3.14 (2023-11-05)
0.3.13 (2023-10-16)
0.3.12 (2023-10-12)
- a11y-heading-in-sectioning-contentに"SectioningContent内のsmarthr-ui/Heading系コンポーネントにtag属性が設定されている場合エラー"になる機能を追加 (#85) (c34b4f4)
- a11y-image-has-alt-attributeでaria-describedbyが設定されている場合、エラーにならないように修正 (#84) (046ee0f)
0.3.11 (2023-09-27)
0.3.10 (2023-09-20)
- a11y-heading-in-sectioning-contentでSectioningContentと予想される名前だがそれらの拡張ではないコンポーネントはエラーとする (#77) (f7248d5)
- a11y-xxx-has-yyy-attributeにcheckTypeオプションを追加 (#81) (94a511a)
- a11y系ruleにstyled-componentsで既存のコンポーネントなどを拡張する際、誤検知が発生しそうな名称が設定されている場合はエラーにする機能を追加 (#80) (727ff3f)
0.3.9 (2023-09-04)
new Date("YYYY/MM/DD")
のように日付文字列を直接設定している場合new Date(YYYY, MM - 1, DD)
に置き換えるfixerを追加 (#76) (16a689a)
0.3.8 (2023-09-01)
- a11y-anchor-has-href-attribute の next, react-router-dom用オプションをpackage.jsonを解析して自動設定するように修正 (#71) (8321433)
- a11y-anchor-has-href-attributeをhref="" や href="#" の場合、エラーとなるように修正 (#75) (738ab65)
0.3.7 (2023-08-24)
- a11y-clickable-element-has-text のチェック時、リンク内部に名称の末尾がTextがつくコンポーネントがある場合、チェックを通過するように修正 (#69) (182b5d5)
0.3.6 (2023-08-20)
0.3.5 (2023-07-28)
0.3.4 (2023-07-18)
0.3.3 (2023-07-10)
0.3.2 (2023-07-07)
0.3.1 (2023-05-12)
0.3.0 (2023-04-14)
- best-practice-for-remote-trigger-dialog にリネーム & 特定パターンでバグが起きる問題を修正する (#61)
0.2.25 (2023-04-04)
0.2.24 (2023-03-10)
0.2.23 (2023-03-09)
0.2.22 (2023-01-27)
0.2.21 (2023-01-19)
0.2.20 (2023-01-18)
0.2.19 (2023-01-17)
- a11y-input-has-name-attributeの対象となるコンポーネントを追加(InputFile, CheckBox, ComboBox, DatePicker) (ed14952)
0.2.18 (2023-01-15)
0.2.17 (2023-01-12)
- a11y-radio-has-name-attributeをinput, select, textareaに対してname属性を必須にするルール a11y-input-has-name-attribute に変更する (#50) (f278bf8)
- ラジオボタンにnameを強制するルールを追加 (97792cf)
- no-import-other-domain、require-barrel-import でignoresオプションを指定するとエラーが発生する問題を修正する (#49) (8526236)
- prohibit-path-within-template-literalのpathオブジェクト名の解析の際、エラーになるパターンがあったため修正する (#48) (715e485)
0.2.16 (2022-12-21)
- ラジオボタンにnameを強制するルールを追加 (97792cf)
- no-import-other-domain、require-barrel-import でignoresオプションを指定するとエラーが発生する問題を修正する (#49) (8526236)
- prohibit-path-within-template-literalのpathオブジェクト名の解析の際、エラーになるパターンがあったため修正する (#48) (715e485)
0.2.15 (2022-12-15)
- add prohibit-path-within-template-literal rule. (#46) (1ea51a9)
- ignores option for no-import-other-domain and require-barrel-import (#45) (559fdcf)
0.2.14 (2022-12-13)
- trim-propsルールを追加 (#44)
0.2.13 (2022-12-07)
0.2.12 (2022-12-07)
0.2.11 (2022-12-07)
- redundant-nameの省略文字列がファイルパスによって正常に生成できないバグを修正 (49eb1d9)
0.2.10 (2022-11-22)
- a11y-prohibit-input-placeholder を最新のComboBoxに対応させる (#39) (682281c)
- placeholder禁止対象にdate pickerが含まれていなかったため対応 (#39) (abf89f0)
0.2.9 (2022-10-19)
- a11y-prohibit-input-placeholder を SearchInputに対応させる (#38) (60de76b)
- add require-declaration rule (#34) (5dc6d44)
- placeholder非推奨の対象に FieldSet, ComboBox も含める (#35) (0e8d1d0)
0.2.8 (2022-10-05)
0.2.7 (2022-10-03)
- add a11y-prohibit-input-placeholder rule. (#32) (a6033b9)
- 修正しなければ問題が起きる可能性があるruleのmeta.typeをproblemに修正 (#31) (e3980e5)
0.2.6 (2022-09-08)
- 修正しなければ問題が起きる可能性があるruleのmeta.typeをproblemに修正 (#31)
0.2.5 (2022-09-08)
- require-import, prohibit-import: report message の一部でテンプレート文字列がそのまま出力されてしまう事があるバグを修正 (#29) (b805f90)
- 画像系コンポーネントが代替テキスト属性を持つかチェックする際にエラーになるパターンを修正 (#30) (bcd1044)
0.2.4 (2022-08-30)
0.2.3 (2022-08-26)
0.2.2 (2022-08-18)
0.2.1 (2022-08-15)
- 新しいルールの追加 (require-export, prohibit-file-name, prohibit-export-array-type, best-practice-for-date ) (#22) (ddb7433)
0.2.0 (2022-07-05)
- BREAKING CHANGE: a11-xxxx-has-text を a11-clickable-element-has-text に統一する (#16
0.1.3 (2022-07-05)
- add rules format-translate-component (#19) (a429e9e)
- リンク要素内にテキストが設定されていない場合、エラーとなるルールを追加する (#15) (4bbb9c1)