Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: prohibit calls for it.only and describe.only (#499)
  • Loading branch information
Brian Chen committed 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
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.