eslint-plugin-temporal weekly downloads statistics
By stevekinney · npm · ESLint plugins
ESLint plugin for Temporal TypeScript SDK - enforce best practices for workflows, activities, workers, and clients
eslint-plugin-temporal has 8,077 recorded weekly downloads on npm, a decrease of 34.8% over the past 30 days, ranking #1353 of 3,247 tracked listings.
About eslint-plugin-temporal
eslint-plugin-temporal
ESLint plugin for the Temporal TypeScript SDK. Provides rules to enforce best practices and prevent common mistakes across workflows, activities, workers, and clients.
Installation
npm install --save-dev eslint-plugin-temporal
# or
bun add --dev eslint-plugin-temporal
Requirements:
- Node.js 18.18.0 or higher
- ESLint 9.0.0 or higher (flat config)
- TypeScript 5.0.0 or higher
Quick Start
Add the plugin to your eslint.config.js:
import temporal from 'eslint-plugin-temporal';
export default [temporal.configs.recommended];
That's it! The recommended config automatically detects the Temporal context (workflow, activity, worker, or client) based on your imports and applies the appropriate rules.
How Auto-Detection Works
The plugin detects context using a priority system:
-
Import-based detection (most reliable):
import { proxyActivities } from '@temporalio/workflow'→ workflow rules applyimport { Context } from '@temporalio/activity'→ activity rules applyimport { Worker } from '@temporalio/worker'→ worker rules applyimport { Client } from '@temporalio/client'→ client rules applyimport { TestWorkflowEnvironment } from '@temporalio/testing'→ test context (relaxed rules)
-
File path detection (fallback):
**/workflows/**→ workflow rules**/activities/**→ activity rules**/worker/**or**/workers/**→ worker rules**/client/**or**/clients/**→ client rules
-
Unknown context: Only shared/universal rules apply
Advanced: Explicit File Patterns
For projects with non-standard directory structures, you can still use explicit file patterns:
import temporal from 'eslint-plugin-temporal';
export default [
// Use explicit patterns for custom directory structures
{
files: ['src/temporal/workflows/**/*.ts'],
...temporal.configs.workflow,
},
{
files: ['src/temporal/activities/**/*.ts'],
...temporal.configs.activity,
},
{
files: ['src/temporal/worker/**/*.ts'],
...temporal.configs.worker,
},
];
You can also keep auto-detection and customize the patterns with settings.temporal.filePatterns:
import temporal from 'eslint-plugin-temporal';
export default [
temporal.configs.recommended,
{
settings: {
temporal: {
filePatterns: {
workflow: ['src/temporal/workflows/**'],
activity: ['src/temporal/activities/**'],
},
},
},
},
];
Configurations
| Configuration | Description |
|---|---|
recommended | All rules with auto-detection. Rules apply based on detected context. |
workflow | Strict determinism rules. Use with explicit files pattern for manual config. |
activity | Retry safety rules. Use with explicit files pattern for manual config. |
worker | Clean bootstrap rules. Use with explicit files pattern for manual config. |
client | Client code rules. Use with explicit files pattern for manual config. |
strict | All rules enabled as errors. For maximum enforcement. |
Documentation
- Rule docs:
documentation/rules/ - Settings:
documentation/settings.md - Configs:
documentation/configs.md - Docs consistency:
bun run docs:check
Docs contribution
When you add or rename rules, regenerate the docs and keep the README rule list in sync. Run bun run docs:generate followed by bun run docs:check before committing to catch missing or extra docs.
Rules
All rules are included in both recommended and strict presets. The recommended preset uses a mix of warn and error severities, while strict sets all rules to error.
Workflow Rules…
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- temporal
- temporalio
- workflow
- durable-execution
- typescript
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (156)Similar npm ESLint plugins plugins
All 20 eslint-plugin-temporal alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-temporal. First seen Oct 18, 2026; last successful collection Nov 3, 2026. See the methodology.