Bladeren bron

Update babel-eslint and jest

Fixes the `no-unused-vars` issue.

Disables the preflight check in CRA, it has its own isolated module tree
so it was useless anyway.
Renée Kooi 5 jaren geleden
bovenliggende
commit
a1eeaa386b
4 gewijzigde bestanden met toevoegingen van 336 en 293 verwijderingen
  1. 0 1
      .eslintrc.json
  2. 331 288
      package-lock.json
  3. 4 4
      package.json
  4. 1 0
      test/endtoend/create-react-app/.env

+ 0 - 1
.eslintrc.json

@@ -15,7 +15,6 @@
     "jsx-quotes": ["error", "prefer-double"],
     "compat/compat": ["error"],
     "react/jsx-handler-names": ["warn"], // maybe we want to do this in the future?
-    "no-unused-vars": ["off"], // Buggy: wrongly flags `i` in `for (const i in iterator)`—reenable ASAP
 
     "jsdoc/check-alignment": ["warn"],
     "jsdoc/check-examples": ["warn"],

File diff suppressed because it is too large
+ 331 - 288
package-lock.json


+ 4 - 4
package.json

@@ -104,8 +104,8 @@
     "@wdio/sauce-service": "^5.0.0",
     "aliasify": "^2.1.0",
     "autoprefixer": "^9.5.1",
-    "babel-eslint": "10.0.2",
-    "babel-jest": "^24.8.0",
+    "babel-eslint": "^10.0.3",
+    "babel-jest": "^24.9.0",
     "babel-plugin-inline-package-json": "^2.0.0",
     "babelify": "^10.0.0",
     "brake": "^1.0.1",
@@ -142,7 +142,7 @@
     "gzip-size": "^5.0.0",
     "http-proxy": "^1.18.0",
     "isomorphic-fetch": "2.2.1",
-    "jest": "24.8.0",
+    "jest": "^24.9.0",
     "json3": "^3.3.2",
     "last-commit-message": "^1.0.0",
     "lerna": "^3.14.1",
@@ -181,7 +181,7 @@
     "verdaccio": "^4.2.1",
     "watchify": "^3.11.1",
     "webdriverio": "^5.0.0",
-    "webpack": "4.39.1",
+    "webpack": "^4.41.1",
     "whatwg-fetch": "3.0.0"
   },
   "scripts": {

+ 1 - 0
test/endtoend/create-react-app/.env

@@ -0,0 +1 @@
+SKIP_PREFLIGHT_CHECK=true

Some files were not shown because too many files changed in this diff