An ESLint plugin providing custom rules for Jet HR projects, currently at version 1.0.4. It enforces import ordering and structure within JavaScript/TypeScript codebases. The plugin is designed to work with ESLint's flat config (eslint.config.js) and offers a recommended preset. Key differentiator: it allows fine-grained control over import grouping (named, default, side-effect, namespace) with support for file-type constraints (e.g., .vue, .js). Release cadence is low; no recent updates. This is a small, focused tool likely for internal use or specific organizational needs, not a widely adopted community standard.
npm install eslint-plugin-jethrNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation and minimal configuration for the jethr/imports-order rule with custom grouping order.
Migrate to eslint.config.js flat config. See ESLint documentation.
Use 'plugin:jethr/recommended' in extends array or apply rules manually.
Use plugins: { jethr: jetEslintPlugin } instead of plugins: ['jethr'].Ensure order array contains arrays with strings (e.g., ['named'], ['default', 'js']). Check plugin source for exact schema.
Test with your ESLint version. Consider pinning ESLint to v8 if issues arise.
Run 'npm install --save-dev eslint-plugin-jethr' and ensure it's in project dependencies.
Use 'jethr/imports-order': ['error', 'always', {...}] or ['error', 'always']Ensure plugins: { jethr: jetEslintPlugin } is set and plugin instance is imported correctly.