Skip to content

Latest commit

 

History

History
689 lines (316 loc) · 42.3 KB

CHANGELOG.md

File metadata and controls

689 lines (316 loc) · 42.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.0 (2024-12-12)

⚠ BREAKING CHANGES

ESLint v9 及び FlatConfig への対応をしました。

これにともない、ESLint v8 以下及び LegacyConfig では利用できなくなりました。

0.5.20 (2024-11-25)

Bug Fixes

  • エラーメッセージ生成ミスを修正 (#152) (17b8bd0)

0.5.19 (2024-11-25)

Bug Fixes

  • エラーメッセージ生成ミスを修正 (4ea11f1)

0.5.18 (2024-11-25)

Features

  • a11y-requried-layout-as-attribute ルールを追加する (#150) (96e0970)

Bug Fixes

  • a11y-form-control-in-form でFilterDropdownをformとして扱うように修正 (#151) (9d86ef8)

0.5.17 (2024-11-04)

Features

  • a11y-prohibit-heading-in-formを追加 (#148) (973f681)

0.5.16 (2024-10-25)

0.5.15 (2024-09-10)

Features

  • a11y系ルールの対象にsmarthr-ui/TimePickerを追加する (#146) (90d9bf4)

Bug Fixes

  • README.md内のIncorrect examplesを修正 (fe0f7d2)

0.5.14 (2024-07-02)

Features

  • best-practice-for-data-test-attributeを追加 (#141) (30a8f00)
  • ButtonやTextLinkコンポーネントにprefix, suffixの両属性を同時に設定できないルールを追加 (1eb7568)

Bug Fixes

  • a11y-clickable-element-has-text でtext属性を持つコンポーネントが存在する場合、真となるように修正 (#143) (46b7048)

0.5.13 (2024-06-21)

Features

  • ButtonやTextLinkコンポーネントにprefix, suffixの両属性を同時に設定できないルールを追加 (1eb7568)

0.5.12 (2024-06-10)

Features

  • best-practice-for-data-test-attributeを追加 (#141) (30a8f00)

0.5.11 (2024-06-06)

Bug Fixes

  • 内に三項演算子がある場合に、入力要素が複数あると誤認されないようにする (#139) (8a234c7)
  • 適切にonClick属性を利用しているケースを通したい! (cc71417)

0.5.10 (2024-04-26)

Bug Fixes

  • 内に三項演算子がある場合に、入力要素が複数あると誤認されないようにする (#139) (8a234c7)

0.5.9 (2024-04-22)

Features

  • 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)

Features

  • a11y-prohibit-input-maxlength-attribute (#135) (9f9d010)
  • best-practice-for-layouts に を に置き換えることを促すチェックを追加 (#133) (5835530)

0.5.7 (2024-04-01)

Features

  • a11y-delegate-element-has-role-presentationでas, forwardedAsにform, fieldsetが指定されている場合、インタファクティブな要素として扱うように修正 (#132) (3d629fa)
  • a11y-replace-unreadable-symbol (#128) (9410ff9)

0.5.6 (2024-03-29)

Bug Fixes

  • best-practice-for-layoutsで "a?.map(function)" のようにchainを使っている場合正しく検知できなかった問題を修正 (#131) (80da1ca)

0.5.5 (2024-03-29)

Bug Fixes

  • a11y-heading-in-sectioning-contentでHeadingコンポーネントにtag属性を変数で設定した場合、jsエラーが起きるバグを修正 (#130) (f927ecd)

0.5.4 (2024-03-29)

Features

  • a11y-heading-in-sectioning-contentで title, もしくはheading属性がSectioningContent系コンポーネントに設定されている場合、headingがあると判定するように修正 (#129) (93bbd19)

0.5.3 (2024-03-26)

Features

  • a11y-heading-in-sectioning-contentでHeadingを持たないSectioning Contentを検知するように修正 (#124) (8b96de0)
  • smarthr-ui/Layouts系コンポーネントの利用方法をチェックする best-practice-for-layouts ルールを追加する (#126) (e0324e4)

Bug Fixes

  • 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)

Features

  • a11y-form-control-in-formルールを追加 (#121) (a6270f9)

0.5.0 (2024-03-11)

⚠ BREAKING CHANGES

  • spread attributesが指定されている場合、ruleをcorrectにする smartr オプションを allow-spread-attributes オプションにリネームする (#119)

Bug Fixes

  • spread attributesが指定されている場合、ruleをcorrectにする smartr オプションを allow-spread-attributes オプションにリネームする (#119) (25752bb)

0.4.2 (2024-03-03)

Features

  • best-practice-for-button-elementを追加 (#115) (c19ab10)

Bug Fixes

  • a11y-numbered-text-within-ol でwidthの値が誤検知されてしまう場合に対応する (#117) (3741d54)

0.4.1 (2024-02-21)

Features

  • a11y-numbered-text-within-olを追加する (#105) (167b92f)
  • ComboBoxなどのinputAttributesでtitle属性が指定された場合、擬似的にラベルが付いていると判定するように修正 (#113) (5f3b594)

0.4.0 (2024-02-05)

⚠ BREAKING CHANGES

  • 利用者がいなくなったsmarthr/redundant-nameを削除する (#111)

Features

  • a11y-input-in-form-controlでlabelが設定されている可能性が高いRadio, Checkboxの複数形コンポーネントを正しく判定できるようにする (#112) (77ee8f4)

Bug Fixes

  • 利用者がいなくなったsmarthr/redundant-nameを削除する (#111) (2bc1011)

0.3.27 (2024-01-28)

Features

  • a11y系コンポーネントで入力要素の拡張コンポーネントの判定をfunctionを使っている場合にも正しく判定できるように修正 (#108) (c929760)

0.3.26 (2024-01-24)

Bug Fixes

  • a11y-prohibit-useless-sectioning-fragmentの属性チェックのバグを修正 (#107) (b42bdd9)

0.3.25 (2024-01-23)

Features

  • 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)

Bug Fixes

  • import内で型の場合はtype kindを設定することでasでの命名縛りを回避できるように修正 (#102) (689d7da)

0.3.22 (2024-01-16)

Bug Fixes

  • a11y-heading-in-sectioning-contentのLayout系コンポーネントのas属性をチェックする際の処理がエラーハンドリング出来ていなかったため対応 (#101) (f77d686)

0.3.21 (2024-01-16)

Features

  • a11y-heading-in-sectioning-content の Layout[as={sectioningContentTag}] への対応 (#91) (62bb051)

Bug Fixes

  • 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)

Bug Fixes

  • a11y-delegate-element-has-role-presentation のインタラクティブな要素の判定を調整する (#96) (63c9bda)

0.3.18 (2023-12-30)

Features

  • a11y-delegate-element-has-role-presentation でインタラクティブな要素として扱われるコンポーネントを追加する (#95) (7d2b66d)

0.3.17 (2023-12-30)

Bug Fixes

  • a11y-delegate-element-has-role-presentationのインタラクティブなコンポーネントであることの判定で、小文字始まりのコンポーネントの場合判定ミスされるバグを修正 (#94) (50a8296)

0.3.16 (2023-12-30)

Features

  • a11y-delegate-element-has-role-presantation を追加 (#92) (c211ffb)

0.3.15 (2023-11-29)

Features

  • a11y系ruleに "import時のasでのrename内容をチェックする" 処理を追加 (#90) (2eab779)

0.3.14 (2023-11-05)

Bug Fixes

  • styled-components/attrsメソッドを利用している場合、継承時の名称チェック対象外になっていたため修正 (#89) (93b72f2)

0.3.13 (2023-10-16)

Features

  • a11-heading-in-sectioning-contentのtag属性不要チェックのエラー位置を、タグの開始行ではなく属性の記述されている行に変更する (#86) (e25080a)

0.3.12 (2023-10-12)

Features

  • 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)

Features

  • 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)

Features

  • new Date("YYYY/MM/DD") のように日付文字列を直接設定している場合 new Date(YYYY, MM - 1, DD) に置き換えるfixerを追加 (#76) (16a689a)

0.3.8 (2023-09-01)

Features

  • 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)

Features

  • a11y-clickable-element-has-text のチェック時、リンク内部に名称の末尾がTextがつくコンポーネントがある場合、チェックを通過するように修正 (#69) (182b5d5)

0.3.6 (2023-08-20)

Features

  • .eslintrc.js などの設定からparserOptions.project が設定されている場合、tsconfig.jsonの読み込み先を変更する (#68) (3897faf)

0.3.5 (2023-07-28)

Bug Fixes

  • a11y-heading-in-sectioning-content で Heading系コンポーネントの拡張をexportしている場合、正しく除外されないバグを修正 (#67) (a4b8e6d)

0.3.4 (2023-07-18)

Features

  • a11y-heading-in-sectioning-content を smarthr-ui/PageHeading に対応させる (#66) (5abc13c)

0.3.3 (2023-07-10)

Bug Fixes

  • a11y-heading-in-sectioning-contentのHeadingアウトライン未指定の誤検知を修正する (#65) (2cbf6aa)

0.3.2 (2023-07-07)

Features

  • a11y-heading-in-sectioning-contentを追加 (#64) (49dc559)

Bug Fixes

  • replacePathsの生成時、tsconfigにcompilerOptions.pathsが設定されていなければエラーになるように修正 (#63) (cbb4306)

0.3.1 (2023-05-12)

0.3.0 (2023-04-14)

⚠ BREAKING CHANGES

  • best-practice-for-remote-trigger-dialog にリネーム & 特定パターンでバグが起きる問題を修正する (#61)

Bug Fixes

  • best-practice-for-remote-trigger-dialog にリネーム & 特定パターンでバグが起きる問題を修正する (#61) (0ad3601)

0.2.25 (2023-04-04)

Features

  • best-practice-for-remote-trigger-action-dialog ルールを追加 (#60) (d2bbeef)

0.2.24 (2023-03-10)

Features

  • next.js, react-routerのLinkコンポーネントに対応するオプションを追加 (#59) (88996e8)

0.2.23 (2023-03-09)

0.2.22 (2023-01-27)

Features

  • a11y-anchor-has-href-attribute を追加 (#57) (83856b1)

0.2.21 (2023-01-19)

Features

  • a11y系ruleのコンポーネント名チェックが漏れているパターンが存在したため調整 (#56) (e628426)

0.2.20 (2023-01-18)

Features

  • a11y-input-has-name-attribute を DropZoneも対象になるように修正 (#55) (73c30ce)

0.2.19 (2023-01-17)

Features

  • a11y-input-has-name-attributeの対象となるコンポーネントを追加(InputFile, CheckBox, ComboBox, DatePicker) (ed14952)

0.2.18 (2023-01-15)

Features

  • redundant-name にignores オプションを追加 (#53) (638ed8f)

Bug Fixes

  • ディレクトリの削除もれ対応 (#52) (afefcae)

0.2.17 (2023-01-12)

Features

  • a11y-radio-has-name-attributeをinput, select, textareaに対してname属性を必須にするルール a11y-input-has-name-attribute に変更する (#50) (f278bf8)
  • ラジオボタンにnameを強制するルールを追加 (97792cf)

Bug Fixes

  • no-import-other-domain、require-barrel-import でignoresオプションを指定するとエラーが発生する問題を修正する (#49) (8526236)
  • prohibit-path-within-template-literalのpathオブジェクト名の解析の際、エラーになるパターンがあったため修正する (#48) (715e485)

0.2.16 (2022-12-21)

Features

  • ラジオボタンにnameを強制するルールを追加 (97792cf)

Bug Fixes

  • no-import-other-domain、require-barrel-import でignoresオプションを指定するとエラーが発生する問題を修正する (#49) (8526236)
  • prohibit-path-within-template-literalのpathオブジェクト名の解析の際、エラーになるパターンがあったため修正する (#48) (715e485)

0.2.15 (2022-12-15)

Features

  • add prohibit-path-within-template-literal rule. (#46) (1ea51a9)
  • ignores option for no-import-other-domain and require-barrel-import (#45) (559fdcf)

Bug Fixes

  • redundant-nameのarrowedNameなどで利用するファイルパスが削られすぎていたため、指定が行いにくい問題を修正する (#43) (6de9618)

0.2.14 (2022-12-13)

Features

  • trim-propsルールを追加 (#44)

0.2.13 (2022-12-07)

Bug Fixes

  • redundant-nameのarrowedNameなどで利用するファイルパスが削られすぎていたため、指定が行いにくい問題を修正する (#43) (6de9618)

0.2.12 (2022-12-07)

Bug Fixes

  • ファイルが複数の.を保つ場合(例 xxx.test.tsx)正常に動作しないバグを修正する (#42) (23eb5b5)

0.2.11 (2022-12-07)

Bug Fixes

  • redundant-nameの省略文字列がファイルパスによって正常に生成できないバグを修正 (49eb1d9)

0.2.10 (2022-11-22)

Features

  • a11y-prohibit-input-placeholder を最新のComboBoxに対応させる (#39) (682281c)
  • placeholder禁止対象にdate pickerが含まれていなかったため対応 (#39) (abf89f0)

Bug Fixes

  • a11y-image-has-alt-attribute が svg > image を誤検知してしまうバグを修正する (#40) (1f21879)

0.2.9 (2022-10-19)

Features

  • a11y-prohibit-input-placeholder を SearchInputに対応させる (#38) (60de76b)
  • add require-declaration rule (#34) (5dc6d44)
  • placeholder非推奨の対象に FieldSet, ComboBox も含める (#35) (0e8d1d0)

Bug Fixes

  • a11y-clickable-element-has-textのバグを修正する (#36) (4efc23d)

0.2.8 (2022-10-05)

Bug Fixes

  • チェックするファイルのdirを取得するロジックから正規表現を取り除く (#33) (c89548e)

0.2.7 (2022-10-03)

Features

  • add a11y-prohibit-input-placeholder rule. (#32) (a6033b9)
  • 修正しなければ問題が起きる可能性があるruleのmeta.typeをproblemに修正 (#31) (e3980e5)

0.2.6 (2022-09-08)

Features

  • 修正しなければ問題が起きる可能性があるruleのmeta.typeをproblemに修正 (#31)

0.2.5 (2022-09-08)

Bug Fixes

  • require-import, prohibit-import: report message の一部でテンプレート文字列がそのまま出力されてしまう事があるバグを修正 (#29) (b805f90)
  • 画像系コンポーネントが代替テキスト属性を持つかチェックする際にエラーになるパターンを修正 (#30) (bcd1044)

0.2.4 (2022-08-30)

Features

0.2.3 (2022-08-26)

Bug Fixes

  • a11y-xxxx: styled(Hoge)の実行結果を変数に代入しないパターンに対応する (#26) (0bb0259)

0.2.2 (2022-08-18)

Bug Fixes

  • redundant-name rule の allowedNames オプションが適用されないバグがあったため修正する (#23) (86a7bc5)

0.2.1 (2022-08-15)

Features

  • 新しいルールの追加 (require-export, prohibit-file-name, prohibit-export-array-type, best-practice-for-date ) (#22) (ddb7433)

0.2.0 (2022-07-05)

⚠ BREAKING CHANGES

  • BREAKING CHANGE: a11-xxxx-has-text を a11-clickable-element-has-text に統一する (#16

0.1.3 (2022-07-05)

Features

  • add rules format-translate-component (#19) (a429e9e)
  • リンク要素内にテキストが設定されていない場合、エラーとなるルールを追加する (#15) (4bbb9c1)

Bug Fixes

  • redundant-nameのバグを修正する (#20) (b733f18)

0.1.2 (2022-03-09)

Bug Fixes

  • require-barrel-import修正(barrelファイルが複数存在する場合、一番親に当たるファイルを検知する) (#14) (87a6724)

0.1.1 (2022-03-08)

Features

0.1.0 (2022-02-09)

⚠ BREAKING CHANGES

  • BREAKING CHANGE: add require-import & update prohibit-import (#12) (e6c5c44), closes #12

0.0.1 (2022-02-08)

Features

  • add type property function params redundant (758df90)
  • redundant-name の修正候補を操作できるように改修 (20991e8)

0.0.0 (2022-01-25)

Features

  • LICENSE を追加 (6497921)
  • リリース用の処理を追加 (c606864)

Bug Fixes

  • fs と path は node のデフォルトの物を使うべきなので dependencies から削除 (979a4f4)
  • jsx-start-with-spread-attributes (3936797)
  • node_modules を gitignore (bcfb637)
  • process.env.PWD -> process.cwd() (1368464)
  • redundant-nameのdisabled周りのバグを修正 (93ff112)
  • リリースに向けて package.json 上の不要な記述を削除 (29e4e44)