Skip to content

Commit

Permalink
chore: add linter checks for it|describe.only (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Chen authored May 5, 2020
1 parent 35ef4a9 commit 880d5a9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
build/
docs/
protos/
system-test/
20 changes: 20 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@
}
]
}
},
{
"files": [
"dev/test/*.ts",
"dev/system-test/*.ts"
],
"parser": "@typescript-eslint/parser",
"rules": {
"no-restricted-properties": [
"error",
{
"object": "describe",
"property": "only"
},
{
"object": "it",
"property": "only"
}
]
}
}
]
}
2 changes: 0 additions & 2 deletions dev/system-test/.eslintrc.yml

This file was deleted.

2 changes: 0 additions & 2 deletions dev/system-test/.gitignore

This file was deleted.

0 comments on commit 880d5a9

Please sign in to comment.