From a6ea2b529e12b1d695e3a73a8ab1a448dd8a74b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Zl=C3=A1mal?= Date: Mon, 11 Oct 2021 13:13:26 -0500 Subject: [PATCH] Eslint: upgrade to version 8.0.0 See: - https://eslint.org/blog/2021/10/eslint-v8.0.0-released - https://eslint.org/docs/user-guide/migrating-to-8.0.0 Known unresolved issues (with low impact )that we decided to accept: - https://github.com/mysticatea/eslint-plugin-node/issues/301 Known issues that need to be fixed first: - [x] wait for https://github.com/import-js/eslint-plugin-import/pull/2191 to be released and merged here - [x] wait for https://github.com/gajus/eslint-plugin-flowtype/pull/496 to be released and merged here - [x] wait for https://github.com/testing-library/eslint-plugin-testing-library/issues/462 to be released and merged here - [ ] ~wait for https://github.com/mysticatea/eslint-plugin-node/issues/294 to be released and merged here~ replaced (probably temporarily) with `eslint-plugin-n` which supports Eslint 8 - [x] wait for https://github.com/facebook/react/pull/22248 to be released and merged here - [x] release minor/patch version of Adeira Eslint Config before merging this breaking change - [x] switch `NEXT_VERSION_ERROR` to `ERROR` (https://github.com/adeira/universe/pull/3625) adeira-source-id: b194be7e4f2fc10d51a10ed8753c440414e36b4d --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e25deed..c55cae7 100644 --- a/package.json +++ b/package.json @@ -26,11 +26,11 @@ "@adeira/flow-types-eslint": "0.0.0", "@babel/code-frame": "^7.16.0", "@babel/eslint-parser": "^7.16.5", - "eslint": "^7.32.0", + "eslint": "^8.5.0", "react": "^17.0.2" }, "peerDependencies": { "@adeira/sx": "^0.28.0", - "eslint": "^7.32.0" + "eslint": "^8.5.0" } }