Skip to content

Releases: rdlabo-dev/eslint-plugin-rules

v22.1.1

Choose a tag to compare

@rdlabo rdlabo released this 09 Sep 09:53

What's Changed

  • fix: allow nested content in Ionic item groups by @rdlabo in #35

Commits

  • fix: allow nested content in Ionic item groups (#35) b1091f1
  • docs: clarify onboarding and guide progression 4f7aa80
  • docs: introduce ESLint through detection and autofix 5fdcc94

v22.1.0...v22.1.1

v22.1.0

Choose a tag to compare

@rdlabo rdlabo released this 09 Sep 09:11

Highlights

Adds Ionic validation error-text checks and opt-in timezone policies for Cloudflare Workers. These notes cover changes since v22.0.0, including the features previously available in v22.0.1-0.

Ionic validation error text

  • Add require-ion-error-text to the recommended preset. Supported Ionic controls using Angular Signal Forms [formField] must provide an error-text source. (#30)
  • Accept non-empty static errorText or property-bound [errorText].
  • Support formFieldProvidesErrorText: true for applications using KitIonicFormField and provideKitIonicSignalForms(). Enable this only after the adapter is wired into the relevant components and application providers.
  • Provide opt-in checks for controls without [formField] and an option to ignore read-only controls.

Upgrade note: the new recommended rule can report additional lint errors in existing forms. Supply error text or configure the installed form adapter as described in the rule guide.

Workers timezone policies

Add two opt-in rules and presets through the framework-independent TypeScript entry point. (#32)

  • no-implicit-timezone: detect implicit host-timezone behavior in Date construction, parsing, local accessors, and Intl formatting. This rule requires typed linting.
  • initialize-timezone-at-module-scope: keep @rdlabo/workers-timezone initialization at a clear module-level site, with at most one initialization site per file.
  • Add the workers/recommended and workers-timezone/recommended presets. The former supplies Workers-oriented restrict-try-block settings; the latter enables the two timezone rules.

See the configuration guide for setup and scope.

Documentation and publishing

  • Expand grouped-list migration guidance, form error-text documentation, and product/setup guides. (#29, #31, #33)
  • Add CI-gated beta package candidates and publication checks for eligible pull requests and merged changes.

This GitHub Release documents version 22.1.0, already published to npm on September 6, 2026. It uses the existing v22.1.0 tag; no package is republished.

Full Changelog: v22.0.0...v22.1.0

v22.0.1-0

v22.0.1-0 Pre-release
Pre-release

Choose a tag to compare

@rdlabo rdlabo released this 26 Aug 09:48
  • feat: require Ionic validation error text (#30) a87aafc
  • docs: link package homepage to documentation f405c0e
  • docs: add maintainer information 7ba3c51
  • docs: document grouped list migration (#29) 9b5357e

v22.0.0...v22.0.1-0

v22.0.0

Choose a tag to compare

@rdlabo rdlabo released this 22 Aug 04:50

Highlights

Version 22 adds Ionic Framework 9 support while continuing to support both Angular 21 and Angular 22. It also introduces list-structure validation for Ionic's iOS 26 and Material Design 3 styling.

Breaking changes

  • Ionic 9 is now required. Ionic 8 applications must remain on version 21 of this plugin.
  • deny-import-from-ionic-module has been removed. Replace it with prefer-ionic-standalone.
  • prefer-ionic-standalone requires Ionic 9 standalone imports from @ionic/angular and rejects @ionic/angular/standalone, @ionic/angular/lazy, and IonicModule usage.
  • ionic-attr-type-check now follows Ionic 9 component types, including the boolean autocorrect property.
  • The recommended preset now enables prefer-ionic-standalone and require-ion-item-group.

New: grouped Ionic list items

The new require-ion-item-group rule requires an ion-item inside ion-list to use one of the supported structures:

  • ion-list > ion-item-group > ion-item
  • ion-list > ion-reorder-group > ion-item
  • ion-list > ion-radio-group > ion-item
  • ion-list > ion-accordion-group > ion-accordion > ion-item

Angular control-flow blocks and non-rendering template containers are handled transparently. Safe automatic fixes and editor suggestions are provided where the intended group boundary can be determined; reusable or ambiguous templates are reported without modification.

Migration

Commit your application changes, then run Ionic's official migrator:

npx @ionic/migrate --dry-run
npx @ionic/migrate

The migrator handles safe Ionic 8-to-9 changes. Applications using IonicModule still require a manual Angular standalone migration; do not mechanically rewrite /lazy imports.

See the 21.x to 22.x migration guide for the complete procedure.

Compatibility

  • Angular and Angular ESLint: 21.x or 22.x
  • Ionic Angular and Ionic Core: 9.x
  • Node.js: 20 or later
  • ESLint: 9 or later

Version 22 also ships the rebuilt rule documentation in the npm package, documents the framework-independent /typescript entry point, validates Angular 21 and 22 in CI, and updates project links following the move to the rdlabo-dev GitHub organization.

Full Changelog: v21.3.0...v22.0.0

v22.0.0-0

v22.0.0-0 Pre-release
Pre-release

Choose a tag to compare

@rdlabo rdlabo released this 21 Aug 11:01

What's Changed

  • 汎用TypeScriptルールのentry pointを追加 by @rdlabo in #23
  • Point READMEs to centralized documentation by @rdlabo in #25
  • docs: slim README and add getting-started guides with omit markers by @rdlabo in #26
  • Support Angular 21/22 and Ionic 9 by @rdlabo in #24
  • Rebuild rule documentation from implementation by @rdlabo in #27

Commits

  • Rebuild rule documentation from implementation (#27) 16eabdc
  • Support Angular 21/22 and Ionic 9 (#24) 698d24f
  • docs: slim README and add getting-started guides with omit markers (#26) adc708c
  • point README to centralized documentation (#25) 4822143
  • Document TypeScript entry point and fix test naming 6a44998
  • Update references after GitHub organization transfer f91da3b

v21.3.0...v22.0.0-0

v21.2.7

Choose a tag to compare

@rdlabo rdlabo released this 14 Aug 06:38
  • Merge pull request #22 from rdlabo-team/agent/fix-recommended-config-template-scope 7488a81
  • Fix recommended config template scope e87bc68

v21.2.6...v21.2.7

v21.2.6

Choose a tag to compare

@rdlabo rdlabo released this 14 Aug 05:44
  • Merge pull request #21 from rdlabo-team/agent/ban-promise-resolve ee9ff49
  • Ban Promise.resolve escape hatches 5c32ad0

v21.2.5...v21.2.6

v21.2.5

Choose a tag to compare

@rdlabo rdlabo released this 11 Aug 15:15
  • Merge pull request #20 from rdlabo-team/agent/graceful-untyped-try-rule 99336cb
  • Gracefully degrade try rule without types bc2e242
  • Merge pull request #19 from rdlabo-team/agent/restrict-try-block fe022c4
  • Add typed try block restriction rule cd0b798

v21.2.4...v21.2.5

v21.2.4

Choose a tag to compare

@rdlabo rdlabo released this 04 Aug 09:08
  • fix: close signal forms lint bypasses 54ef803

v21.2.3...v21.2.4

v21.2.3

Choose a tag to compare

@rdlabo rdlabo released this 04 Aug 08:47
  • feat: enforce signal forms boundaries f1cf50d

v21.2.2...v21.2.3