diff --git a/packages/prettier/index.js b/packages/prettier/index.js index 40d2ffe..a7f56f9 100644 --- a/packages/prettier/index.js +++ b/packages/prettier/index.js @@ -1,6 +1,9 @@ -module.exports = { +/** @type {import('prettier').Config} */ +const config = { printWidth: 120, trailingComma: 'all', singleQuote: true, - plugins: [require('prettier-plugin-tailwindcss'), require('prettier-plugin-packagejson')], + plugins: [import('prettier-plugin-tailwindcss'), import('prettier-plugin-packagejson')], }; + +module.exports = config; diff --git a/packages/prettier/package.json b/packages/prettier/package.json index bad7726..27b0d70 100644 --- a/packages/prettier/package.json +++ b/packages/prettier/package.json @@ -13,6 +13,6 @@ "lint-staged": "^15.2.0", "prettier": "^3.1.1", "prettier-plugin-packagejson": "^2.4.8", - "prettier-plugin-tailwindcss": "^0.4.1" + "prettier-plugin-tailwindcss": "^0.5.10" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 497d4c0..a8c740f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -105,8 +105,8 @@ importers: specifier: ^2.4.8 version: 2.4.8(prettier@3.1.1) prettier-plugin-tailwindcss: - specifier: ^0.4.1 - version: 0.4.1(prettier@3.1.1) + specifier: ^0.5.10 + version: 0.5.10(prettier@3.1.1) packages/testcontainers: dependencies: @@ -4997,16 +4997,15 @@ packages: synckit: 0.8.8 dev: false - /prettier-plugin-tailwindcss@0.4.1(prettier@3.1.1): - resolution: {integrity: sha512-hwn2EiJmv8M+AW4YDkbjJ6HlZCTzLyz1QlySn9sMuKV/Px0fjwldlB7tol8GzdgqtkdPtzT3iJ4UzdnYXP25Ag==} - engines: {node: '>=12.17.0'} + /prettier-plugin-tailwindcss@0.5.10(prettier@3.1.1): + resolution: {integrity: sha512-9UGSejqFxGG6brYjFfTYlJ8zs4L/lvZg1AngFfaC5Fs1otSskASv5IWKmjPu5MlABQUtTKtMArKyYr/hWpXSUg==} + engines: {node: '>=14.21.3'} peerDependencies: '@ianvs/prettier-plugin-sort-imports': '*' '@prettier/plugin-pug': '*' '@shopify/prettier-plugin-liquid': '*' - '@shufo/prettier-plugin-blade': '*' '@trivago/prettier-plugin-sort-imports': '*' - prettier: ^2.2 || ^3.0 + prettier: ^3.0 prettier-plugin-astro: '*' prettier-plugin-css-order: '*' prettier-plugin-import-sort: '*' @@ -5024,8 +5023,6 @@ packages: optional: true '@shopify/prettier-plugin-liquid': optional: true - '@shufo/prettier-plugin-blade': - optional: true '@trivago/prettier-plugin-sort-imports': optional: true prettier-plugin-astro: