Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

ESLint rule to avoid `test.only` or `describe.only`

Notifications You must be signed in to change notification settings

Mappy/eslint-plugin-test-no-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-test-no-only

This eslint plugin add rules to detect test.only or describe.only used in jest.

It is useful as a pre-commit or pre-push rules to avoid committing or pushing it.

Configuration

{
    "plugins": [ "test-no-only" ],
    "rules": {
        "test-no-only/test-no-only": 2,
        "test-no-only/describe-no-only": 2
    }
}