eslint-plugin-jasmine weekly downloads statistics
By tlvince · npm · ESLint plugins
ESLint rules for Jasmine
eslint-plugin-jasmine has 135,816 recorded weekly downloads on npm, a decrease of 44.6% over the past 30 days, ranking #434 of 2,322 tracked listings.
About eslint-plugin-jasmine
eslint-plugin-jasmine
ESLint rules for Jasmine
Usage
-
Install
eslint-plugin-jasmineas a dev-dependency:npm install --save-dev eslint-plugin-jasmine -
Enable the plugin by adding it to your
.eslintrc:plugins: - jasmine
ESLint itself provides a Jasmine environment for Jasmine's global
variables. It's therefore recommended to also enable it in your .eslintrc:
plugins:
- jasmine
env:
jasmine: true
By default, no rules are enabled. See the next section for more.
Configuration
This plugin exports a recommended configuration that enforces good practices.
To enable this configuration, use the extends property in your .eslintrc
config file:
plugins:
- jasmine
env:
jasmine: true
extends: "plugin:jasmine/recommended"
See the ESLint config docs for more information about extending configuration files.
Rules
| Rule | Recommended | Options |
|---|---|---|
| expect-matcher | 1, | |
| expect-single-argument | 1, | |
| missing-expect | 0, 'expect()', 'expectAsync()' | expectation function names |
| named-spy | 0 | |
| new-line-before-expect | 1 | |
| new-line-between-declarations | 1 | |
| no-assign-spyon | 0 | |
| no-describe-variables | 0 | |
| no-disabled-tests | 1 | |
| no-expect-in-setup-teardown | 1, 'expect()', 'expectAsync()' | expectation function names |
| no-focused-tests | 2 | |
| no-global-setup | 2 | |
| no-pending-tests | 1 | |
| no-promise-without-done-fail | 1 | |
| no-spec-dupes | 1, 'block' | ['block', 'branch'] |
| no-suite-callback-args | 2 | |
| no-suite-dupes | 1, 'block' | ['block', 'branch'] |
| no-unsafe-spy | 1 | |
| valid-expect | deprecated | |
| prefer-jasmine-matcher | 1 | |
| prefer-promise-strategies | 1 | |
| prefer-toHaveBeenCalledWith | 1 | |
| prefer-toBeUndefined | 0 | ['always', 'never'] |
For example, using the recommended configuration, the no-focused-tests rule
is enabled and will cause ESLint to throw an error (with an exit code of 1)
when triggered.
You may customise each rule by adding a value in your .eslintrc rules
property:
plugins:
- jasmine
env:
jasmine: true
rules:
jasmine/no-focused-tests: 0
jasmine/no-suite-dupes:
- 2
- branch
See configuring rules for more information.
Author
© 2016 - 2017 Tom Vincent git@tlvince.com and contributors.
License
Released under the MIT license.
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- jasmine
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 (543)Similar npm ESLint plugins plugins
All 20 eslint-plugin-jasmine 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-jasmine. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.