aboutsummaryrefslogtreecommitdiff
path: root/vnext/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/.eslintrc')
-rw-r--r--vnext/.eslintrc15
1 files changed, 12 insertions, 3 deletions
diff --git a/vnext/.eslintrc b/vnext/.eslintrc
index e3d8a85c..74fc921a 100644
--- a/vnext/.eslintrc
+++ b/vnext/.eslintrc
@@ -1,7 +1,8 @@
{
"extends": [
"eslint:recommended",
- "plugin:react/recommended"
+ "plugin:react/recommended",
+ "plugin:jest/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
@@ -12,11 +13,13 @@
"env": {
"browser": true,
"node": true,
- "es6": true
+ "es6": true,
+ "jest/globals": true
},
"plugins": [
"babel",
"react",
+ "jest",
"only-ascii"
],
"rules": {
@@ -51,6 +54,12 @@
"no-unused-vars": "off",
"no-useless-escape": "off",
- "only-ascii/only-ascii": ["warn", { "allowedChars": "✓" }]
+ "only-ascii/only-ascii": ["warn", { "allowedChars": "✓" }],
+
+ "jest/no-disabled-tests": "warn",
+ "jest/no-focused-tests": "error",
+ "jest/no-identical-title": "error",
+ "jest/prefer-to-have-length": "warn",
+ "jest/valid-expect": "error"
}
}