From d2259e43604b4036fe8f6b881913d6d4d925f174 Mon Sep 17 00:00:00 2001 From: JonathanTGold Date: Sun, 7 Jan 2024 16:57:07 +0200 Subject: [PATCH] fix --- .eslintrc.json | 2 +- package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index e3b937fdf..1d4991b59 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "root": true, "parser": "@typescript-eslint/parser", - "extends": ["plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"], + "extends": ["plugin:prettier/recommended", "plugin:@typescript-eslint/recommended", "prettier"], "plugins": ["prettier", "@typescript-eslint"], "rules": { "max-len": [ diff --git a/package.json b/package.json index 3e3b6fb1c..b3b5d5b20 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "copy-webpack-plugin": "^11.0.0", "css-loader": "3.6.0", "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-mocha": "^10.2.0", "eslint-plugin-prettier": "^5.1.2", "karma": "^6.4.0", diff --git a/yarn.lock b/yarn.lock index 56f578adf..80a3258c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3192,6 +3192,11 @@ escape-string-regexp@^1.0.5: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= +eslint-config-prettier@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" + integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== + eslint-plugin-mocha@^10.2.0: version "10.2.0" resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz#15b05ce5be4b332bb0d76826ec1c5ebf67102ad6"