Skip to content

Commit dd5cd6f

Browse files
committed
chore: bump prettier
1 parent bb3f911 commit dd5cd6f

File tree

3 files changed

+52
-16
lines changed

3 files changed

+52
-16
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@
2929
"@typescript-eslint/eslint-plugin": "^5.59.9",
3030
"@typescript-eslint/parser": "^5.59.9",
3131
"eslint": "^8.42.0",
32-
"eslint-config-prettier": "^8.8.0",
32+
"eslint-config-prettier": "^9.1.0",
3333
"eslint-plugin-jest": "^27.2.1",
34+
"eslint-plugin-prettier": "^5.2.1",
3435
"eslint-plugin-simple-import-sort": "^12.1.1",
3536
"husky": "^8.0.3",
3637
"jest": "^29.5.0",
3738
"lint-staged": "^13.2.2",
3839
"nx": "^15.9.2",
39-
"prettier": "^2.8.7",
40+
"prettier": "^3.3.3",
4041
"rimraf": "^5.0.1",
4142
"ts-jest": "^29.1.0",
4243
"ts-node": "^10.9.1",

packages/node-opentelemetry/.eslintrc.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,19 @@
1010
"sourceType": "module",
1111
"ecmaVersion": 2020
1212
},
13-
"plugins": ["@typescript-eslint", "jest", "simple-import-sort"],
13+
"plugins": ["@typescript-eslint", "jest", "prettier", "simple-import-sort"],
1414
"extends": [
1515
"eslint:recommended",
1616
"plugin:@typescript-eslint/recommended",
1717
"plugin:jest/recommended",
18-
"prettier"
18+
"plugin:prettier/recommended"
1919
],
2020
"rules": {
21-
// The following rule is enabled only to supplement the inline suppression
22-
// examples, and because it is not a recommended rule, you should either
23-
// disable it, or understand what it enforces.
24-
// https://typescript-eslint.io/rules/explicit-function-return-type/
25-
"@typescript-eslint/explicit-function-return-type": "warn",
2621
"@typescript-eslint/ban-ts-comment": "warn",
22+
"@typescript-eslint/explicit-function-return-type": "warn",
2723
"@typescript-eslint/no-this-alias": "warn",
28-
"simple-import-sort/imports": "error",
29-
"simple-import-sort/exports": "error"
24+
"prettier/prettier": "error",
25+
"simple-import-sort/exports": "error",
26+
"simple-import-sort/imports": "error"
3027
}
3128
}

yarn.lock

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,6 +3573,11 @@
35733573
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
35743574
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
35753575

3576+
"@pkgr/core@^0.1.0":
3577+
version "0.1.1"
3578+
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
3579+
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
3580+
35763581
"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2":
35773582
version "1.1.2"
35783583
resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf"
@@ -7215,10 +7220,10 @@ escodegen@^2.0.0:
72157220
optionalDependencies:
72167221
source-map "~0.6.1"
72177222

7218-
eslint-config-prettier@^8.8.0:
7219-
version "8.10.0"
7220-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz#3a06a662130807e2502fc3ff8b4143d8a0658e11"
7221-
integrity sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==
7223+
eslint-config-prettier@^9.1.0:
7224+
version "9.1.0"
7225+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f"
7226+
integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==
72227227

72237228
eslint-plugin-jest@^27.2.1:
72247229
version "27.9.0"
@@ -7227,6 +7232,14 @@ eslint-plugin-jest@^27.2.1:
72277232
dependencies:
72287233
"@typescript-eslint/utils" "^5.10.0"
72297234

7235+
eslint-plugin-prettier@^5.2.1:
7236+
version "5.2.1"
7237+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz#d1c8f972d8f60e414c25465c163d16f209411f95"
7238+
integrity sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==
7239+
dependencies:
7240+
prettier-linter-helpers "^1.0.0"
7241+
synckit "^0.9.1"
7242+
72307243
eslint-plugin-simple-import-sort@^12.1.1:
72317244
version "12.1.1"
72327245
resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz#e64bfdaf91c5b98a298619aa634a9f7aa43b709e"
@@ -7556,6 +7569,11 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
75567569
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
75577570
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
75587571

7572+
fast-diff@^1.1.2:
7573+
version "1.3.0"
7574+
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0"
7575+
integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==
7576+
75597577
fast-glob@3.2.7:
75607578
version "3.2.7"
75617579
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1"
@@ -11774,11 +11792,23 @@ prelude-ls@^1.2.1:
1177411792
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
1177511793
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
1177611794

11777-
prettier@^2.7.1, prettier@^2.8.7:
11795+
prettier-linter-helpers@^1.0.0:
11796+
version "1.0.0"
11797+
resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
11798+
integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
11799+
dependencies:
11800+
fast-diff "^1.1.2"
11801+
11802+
prettier@^2.7.1:
1177811803
version "2.8.8"
1177911804
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
1178011805
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
1178111806

11807+
prettier@^3.3.3:
11808+
version "3.3.3"
11809+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105"
11810+
integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==
11811+
1178211812
pretty-format@^29.0.0, pretty-format@^29.7.0:
1178311813
version "29.7.0"
1178411814
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812"
@@ -13327,6 +13357,14 @@ symbol-tree@^3.2.4:
1332713357
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
1332813358
integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
1332913359

13360+
synckit@^0.9.1:
13361+
version "0.9.1"
13362+
resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.1.tgz#febbfbb6649979450131f64735aa3f6c14575c88"
13363+
integrity sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==
13364+
dependencies:
13365+
"@pkgr/core" "^0.1.0"
13366+
tslib "^2.6.2"
13367+
1333013368
tar-fs@2.1.1:
1333113369
version "2.1.1"
1333213370
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784"

0 commit comments

Comments
 (0)