From 75fe89da95d23bd479cedb861b96b51b19b9132a Mon Sep 17 00:00:00 2001 From: mykhalenych Date: Wed, 21 Feb 2024 10:39:45 +0200 Subject: [PATCH 1/2] feature/prettier added prettier to eslint-config --- eslint-config/index.js | 3 ++- eslint-config/package.json | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/eslint-config/index.js b/eslint-config/index.js index c5ab656..dce16e6 100644 --- a/eslint-config/index.js +++ b/eslint-config/index.js @@ -3,10 +3,11 @@ module.exports = { "extends": [ "standard", + "plugin:prettier/recommended", ...[ "./rules/style", "./rules/best-practices", - ].map(require.resolve) + ].map(require.resolve), ], "env": { "node": true, diff --git a/eslint-config/package.json b/eslint-config/package.json index aa802c8..4ef6d6b 100644 --- a/eslint-config/package.json +++ b/eslint-config/package.json @@ -10,9 +10,11 @@ "license": "ISC", "dependencies": { "@babel/eslint-parser": "^7.21.3", + "eslint-config-prettier": "^9.1.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.16.0", "eslint-plugin-node": "^11.1.0", + "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0" }, From 6383447473c84a825dbf87ba2988ec8129b810fc Mon Sep 17 00:00:00 2001 From: Misha Hrynko Date: Wed, 21 Feb 2024 11:54:03 +0200 Subject: [PATCH 2/2] Update package.json --- eslint-config/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint-config/package.json b/eslint-config/package.json index 4ef6d6b..e62242d 100644 --- a/eslint-config/package.json +++ b/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@mate-academy/eslint-config", - "version": "0.0.25", + "version": "0.0.26", "description": "Simplified standard config for Mate academy students", "main": "index.js", "scripts": {