From a9b423e453317753812f16cc8d22f81999153127 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:54:03 +0000 Subject: [PATCH 1/2] chore(deps-dev): Bump prettier from 2.8.8 to 3.1.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.1.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.1.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 21b80fa..7d11a75 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "nyc": "^15.1.0", "onchange": "^7.1.0", "postcss": "^8.2.6", - "prettier": "2.8.8", + "prettier": "3.1.0", "release-it": "^15.10.5", "rimraf": "^3.0.2", "rollup": "^2.39.1", From 59afe85ac62916f3a280b65717cf8637a64c8c83 Mon Sep 17 00:00:00 2001 From: LuchoTurtle Date: Fri, 17 Nov 2023 14:38:18 +0000 Subject: [PATCH 2/2] fix: Fixing eslint and prettier errors. --- .eslintrc.js | 7 ++++++- package.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 3937025..77c4b98 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,7 +13,12 @@ module.exports = { 'no-unused-vars': 'off', 'sort-imports': 'off', - 'prettier/prettier': 'error', + 'prettier/prettier': [ + 'error', + { + endOfLine: 'auto', + }, + ], 'simple-import-sort/imports': 'error', '@typescript-eslint/naming-convention': [ 'error', diff --git a/package.json b/package.json index 7d11a75..d927ddd 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "autoprefixer": "^10.2.4", "eslint": "^8.42.0", "eslint-config-prettier": "^8.8.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", "install": "^0.13.0", "jsdom": "^22.1.0",