Skip to content

Releases: hatena/eslint-config-hatena

v3.3.0

14 Mar 10:36
Compare
Choose a tag to compare

What's Changed

  • 依存パッケージを更新し, TypeScript 5.8 に対応しました
  • 設定の extends などを利用可能にするためのユーティリティを tseslint.config() から defineConfig() に変更しました
    • eslint-config-hatena のユーザーから見た時の使い方はこれまでとほぼ変わりません. 主な変更点としては以下のとおりです
      • カスタム設定の配列をネストさせられるようになりました (spread syntax (...) で展開する必要がなくなりました)
      • カスタム設定を config({ /* options */ }, [{ /* config (1) */ } { /* config (2) */ }]) のように書いていたところを, config({ /* options */ }, { /* config (1) */ } { /* config (2) */ }) のように, [ ... ] を省略して記述できるようになりました. オプションとの違いを明確にするためにこれまでのように記述するのも OK です
      • extends を使った場合に files / ignores が上書きされるのではなく, 積集合 / 和集合にマージされるようになりました

PRs

  • chore(deps): update dependency @types/node to ^22.10.2 by @renovate in #157
  • chore(deps): update dependency @types/react to ^18.3.18 by @renovate in #158
  • chore(deps): update dependency npm-run-all2 to ^7.0.2 by @renovate in #159
  • chore(deps): update dependency globals to ^15.14.0 by @renovate in #160
  • chore(deps): update dependency typescript to ~5.7.3 by @renovate in #162
  • chore(deps): update dependency @types/node to ^22.13.0 by @renovate in #161
  • chore(deps): update dependency @types/node to ^22.13.5 by @renovate in #163
  • chore(deps): update dependency globals to ^15.15.0 by @renovate in #164
  • Upgrade dependencies by @susisu in #165
  • feat: use defineConfig from @eslint/config-helpers by @susisu in #166
  • refactor: update comments and tweak config names by @susisu in #167

Full Changelog: v3.2.0...v3.3.0

v3.2.0

26 Dec 10:34
Compare
Choose a tag to compare
  • React, Next.js 向けの設定をディレクトリごとなどで有効化できるよう, 細分化された設定を export するようにしました
    • 使い方はドキュメントを参照してください
  • ルール設定を更新しました

What's Changed

Other Changes

  • React / Next.js 向けの設定を個別に利用可能にする by @susisu in #154
  • ルールの更新 by @susisu in #155
  • ドキュメントを更新 by @susisu in #156

Full Changelog: v3.1.4...v3.2.0

v3.1.4

09 Dec 02:12
Compare
Choose a tag to compare

What's Changed

Other Changes

  • chore(deps): update dependency @types/node to ^22.8.6 by @renovate in #149
  • chore(deps): update dependency @types/eslint-plugin-jsx-a11y to ^6.10.0 by @renovate in #152
  • chore(deps): update dependency @types/node to ^22.10.1 by @renovate in #153
  • fix(deps): update linters by @renovate in #151
  • fix(deps): update dependency @next/eslint-plugin-next to ^15.0.4 by @renovate in #150

Full Changelog: v3.1.3...v3.1.4

v3.1.3

30 Oct 01:59
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3.1.2...v3.1.3

v3.1.2

07 Oct 01:55
Compare
Choose a tag to compare

What's Changed

Other Changes

  • next: "strict" での設定ミスを修正 by @susisu in #146

Full Changelog: v3.1.1...v3.1.2

v3.1.1

07 Oct 01:36
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3.1.0...v3.1.1

v3.1.0

07 Oct 01:29
Compare
Choose a tag to compare

What's Changed

Other Changes

  • Update dependency @types/react to ^18.3.10 by @renovate in #135
  • Update dependency npm-run-all2 to ^6.2.3 by @renovate in #136
  • Update dependency @types/node to ^22.7.4 by @renovate in #137
  • Update dependency typescript to ~5.6.2 by @renovate in #138
  • chore(deps): upgrade dependencies by @susisu in #139
  • fix: fix ordering in the exports field by @susisu in #140
  • refactor: eslint-plugin-import のアップデートにより fixup は不要になった by @susisu in #142
  • eslint-plugin-import の設定を更新 by @susisu in #143
  • feat: Next.js 向けの設定を追加 by @susisu in #141
  • parser や resolver を require.resolve で解決する by @susisu in #144

Full Changelog: v3.0.1...v3.1.0

v3.0.1

05 Sep 14:41
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3.0.0...v3.0.1

v3.0.0

05 Sep 11:49
d221276
Compare
Choose a tag to compare

What's Changed

変更点

Breaking Changes

  • ESLint の最低サポートバージョンを 8.57.0 以降 / 9.0.0 以降に更新

Features

  • ESLint v9 に対応
  • Flat Config に関する変更
    • typescript-eslint が提供する config() と同様の extends に対応しました
    • typescript-eslint 関連のオプション tsProjectService, tsconfigRootDir を追加しました
      • tsProjectService: typescript-eslint の projectService を設定します. デフォルト値では false (無効) です
      • tsconfigRootDir: typescript-eslint の tsconfigRootDir を設定します. デフォルトでは undefined (未指定) です
  • ルールに関する変更
    • ESLint, typescript-eslint の更新に伴い, これらが提供する recommended に含まれるルールも更新されています
    • eslint-plugin-import が提供するルールのうち, TypeScript の検査と重複するものを無効化しました (参考)
    • @typescript-eslint/naming-convention ルールの設定を緩和し, オブジェクトのプロパティ中の snake_case'kebab-case' などを許容するようにしました

PRs

  • chore(deps): update dependency @types/node to ^20.14.13 by @renovate in #120
  • chore(deps): update dependency typescript to ~5.5.4 by @renovate in #121
  • eslint-plugin-import のルールのうち TypeScript で検査できるものを無効化 by @susisu in #124
  • chore(deps): update dependency @types/react to ^18.3.5 by @renovate in #127
  • chore(deps): update dependency @types/node to ^20.16.2 by @renovate in #128
  • URLでのインストール方法の誤記を修正 by @hogashi in #126
  • ESLint v9に対応する by @nanto in #125
  • dependencies の手入れ by @susisu in #129
  • naming-convention ルールの調整 by @susisu in #130
  • typescript-eslint の projectService をオプトインできるようにする by @susisu in #131
  • typescript-eslint の config() ユーティリティをラップする形で提供する by @susisu in #132
  • v3 リリース準備 by @susisu in #133

New Contributors

Full Changelog: v2.1.1...v3.0.0

v2.1.1

08 Jul 06:49
Compare
Choose a tag to compare
  • 依存ライブラリ (プラグイン) を更新しました