From e4337460c685e996e50cdfe97278b36ab7a6dbe7 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 17 Sep 2021 11:29:39 +0200 Subject: [PATCH] add codeframe formatter --- package.json | 1 + yarn.lock | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/package.json b/package.json index 07c5fe5..8efc620 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "eslint": "^6 || ^7 || ^8", "eslint-config-airbnb-base": "^14.2.0", "eslint-config-prettier": "^6.11.0", + "eslint-formatter-codeframe": "^7.32.1", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^23.17.1", "eslint-plugin-prettier": "^3.1.4", diff --git a/yarn.lock b/yarn.lock index ce3b6e8..6fbdd2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1993,6 +1993,14 @@ eslint-config-prettier@^6.11.0: dependencies: get-stdin "^6.0.0" +eslint-formatter-codeframe@^7.32.1: + version "7.32.1" + resolved "https://registry.yarnpkg.com/eslint-formatter-codeframe/-/eslint-formatter-codeframe-7.32.1.tgz#50ef4024e1a533709564b62263c90dbf668a1a00" + integrity sha512-DK/3Q3+zVKq/7PdSYiCxPrsDF8H/TRMK5n8Hziwr4IMkMy+XiKSwbpj25AdajS63I/B61Snetq4uVvX9fOLyAg== + dependencies: + "@babel/code-frame" "7.12.11" + chalk "^4.0.0" + eslint-import-resolver-node@^0.3.6: version "0.3.6" resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"