Gathering detailed insights and metrics for @funboxteam/eslint-plugin-no-only-tests
Gathering detailed insights and metrics for @funboxteam/eslint-plugin-no-only-tests
npm install @funboxteam/eslint-plugin-no-only-tests
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
176,832
Last Day
159
Last Week
775
Last Month
4,001
Last Year
30,488
10 Stars
60 Commits
2 Forks
12 Watching
2 Branches
10 Contributors
Minified
Minified + Gzipped
Latest Version
5.0.0
Package Id
@funboxteam/eslint-plugin-no-only-tests@5.0.0
Unpacked Size
6.11 kB
Size
2.88 kB
File Count
6
NPM Version
9.5.0
Node Version
18.15.0
Publised On
19 May 2023
Cumulative downloads
Total Downloads
Last day
-7%
159
Compared to previous day
Last week
-20.8%
775
Compared to previous week
Last month
5.7%
4,001
Compared to previous month
Last year
-52.8%
30,488
Compared to previous year
3
Disallow the use of describe.only()
and it.only()
.
When developers fix tests they may make the process easier by filtering tests using method only
on it
& describe
.
However, such filters should not be in the repo when the project is running on CI.
So, we add this rule to our ESLint config to check the existence of only
in the tests files. And we run linter using precommit-hook, which make it possible to prevent committing
when only
does exist in the code.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install the plugin:
$ npm install @funboxteam/eslint-plugin-no-only-tests --save-dev
Add @funboxteam/eslint-plugin-no-only-tests
to the plugins
section of your .eslintrc
configuration file.
You can omit the eslint-plugin-
prefix:
1{ 2 "plugins": [ 3 "@funboxteam/no-only-tests" 4 ] 5}
Then configure the rule under the rules
section.
1{ 2 "rules": { 3 "@funboxteam/no-only-tests/no-only": 2 4 } 5}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/7 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More