From 65805cc2ba92619004fef270cfda13f0b0851d0f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 09:53:50 +0000 Subject: [PATCH] chore(deps): update dependency prettier to v3.0.3 (#2696) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com> --- .changeset/cyan-singers-join.md | 2 ++ package.json | 1 + .../babel-preset-metro-react-native/src/index.js | 7 +++---- packages/eslint-plugin/src/rules/no-export-all.js | 14 ++++++++------ packages/tools-language/README.md | 2 +- yarn.lock | 6 +++--- 6 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 .changeset/cyan-singers-join.md diff --git a/.changeset/cyan-singers-join.md b/.changeset/cyan-singers-join.md new file mode 100644 index 000000000..a845151cc --- /dev/null +++ b/.changeset/cyan-singers-join.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/package.json b/package.json index 2bd65709e..3811b175b 100644 --- a/package.json +++ b/package.json @@ -97,6 +97,7 @@ "*.mdx" ], "options": { + "organizeImportsSkipDestructiveCodeActions": true, "proseWrap": "always" } } diff --git a/packages/babel-preset-metro-react-native/src/index.js b/packages/babel-preset-metro-react-native/src/index.js index 6f9e13cc2..83b61ccb9 100644 --- a/packages/babel-preset-metro-react-native/src/index.js +++ b/packages/babel-preset-metro-react-native/src/index.js @@ -2,10 +2,9 @@ // @ts-check "use strict"; -const { getPreset } = require(require.resolve( - "metro-react-native-babel-preset", - { paths: [process.cwd()] } -)); +const { getPreset } = require( + require.resolve("metro-react-native-babel-preset", { paths: [process.cwd()] }) +); /** * @typedef {import("@babel/core").ConfigAPI} ConfigAPI diff --git a/packages/eslint-plugin/src/rules/no-export-all.js b/packages/eslint-plugin/src/rules/no-export-all.js index 147c826d8..9371a4bdf 100644 --- a/packages/eslint-plugin/src/rules/no-export-all.js +++ b/packages/eslint-plugin/src/rules/no-export-all.js @@ -78,12 +78,14 @@ function isLikelyInProject(project, modulePath) { * @returns {{ traverse: (node: Node, options: {}) => void; }} */ function makeTraverser() { - const Traverser = require(path.join( - path.dirname(require.resolve("eslint/package.json")), - "lib", - "shared", - "traverser" - )); + const Traverser = require( + path.join( + path.dirname(require.resolve("eslint/package.json")), + "lib", + "shared", + "traverser" + ) + ); return new Traverser(); } diff --git a/packages/tools-language/README.md b/packages/tools-language/README.md index 89c107402..035dcb68d 100644 --- a/packages/tools-language/README.md +++ b/packages/tools-language/README.md @@ -10,7 +10,7 @@ You can import the entire package, or, to save space, import individual categories: ```typescript -import * tools from "@rnx-kit/tools-language"; +import * as tools from "@rnx-kit/tools-language"; ``` diff --git a/yarn.lock b/yarn.lock index 548ef3d39..e603cb112 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11600,11 +11600,11 @@ __metadata: linkType: hard "prettier@npm:^3.0.0": - version: 3.0.2 - resolution: "prettier@npm:3.0.2" + version: 3.0.3 + resolution: "prettier@npm:3.0.3" bin: prettier: bin/prettier.cjs - checksum: 118b59ddb6c80abe2315ab6d0f4dd1b253be5cfdb20622fa5b65bb1573dcd362e6dd3dcf2711dd3ebfe64aecf7bdc75de8a69dc2422dcd35bdde7610586b677a + checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0 languageName: node linkType: hard