Skip to content

Commit

Permalink
fix: prohibit calls for it.only and describe.only (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Chen authored Jun 9, 2020
1 parent 8bce036 commit 071c33c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,18 @@
"eol-last": "error",
"prefer-arrow-callback": "error",
"no-trailing-spaces": "error",
"quotes": ["warn", "single", { "avoidEscape": true }]
"quotes": ["warn", "single", { "avoidEscape": true }],
"no-restricted-properties": [
"error",
{
"object": "describe",
"property": "only"
},
{
"object": "it",
"property": "only"
}
]
},
"overrides": [
{
Expand Down

0 comments on commit 071c33c

Please sign in to comment.