UNPKG

@theguild/prettier-config

Version:

The Guild's shared Prettier config

269 lines (185 loc) 11 kB
# @theguild/prettier-config ## 3.0.0 ### Major Changes - a3d8e2f: add `"type": "module"` in `package.json` and export prettier config as ESM ### Patch Changes - ce14478: dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.4.0` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.4.0) (from `4.3.1`, in `dependencies`) ## 2.0.7 ### Patch Changes - [#500](https://github.com/the-guild-org/shared-config/pull/500) [`60e2524`](https://github.com/the-guild-org/shared-config/commit/60e2524d676073cb53a417507a522554f8aa89ed) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.3.0` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.3.0) (from `4.2.1`, in `dependencies`) - [#513](https://github.com/the-guild-org/shared-config/pull/513) [`dd2d4d4`](https://github.com/the-guild-org/shared-config/commit/dd2d4d4b8d05427411eecb073ff5736f5357f7c0) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.3.1` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.3.1) (from `4.3.0`, in `dependencies`) - [#544](https://github.com/the-guild-org/shared-config/pull/544) [`352390c`](https://github.com/the-guild-org/shared-config/commit/352390cc9c047f564e12cdc439cc993f025a09bf) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add `importAssertions` in `importOrderParserPlugins` to format files with `assert { type: 'json' }` and not throw an error ## 2.0.6 ### Patch Changes - [#364](https://github.com/the-guild-org/shared-config/pull/364) [`862b10d`](https://github.com/the-guild-org/shared-config/commit/862b10d19c8934370a614c3c63e338683b23a7f7) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.2.0` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.2.0) (from `4.1.1`, in `dependencies`) - [#374](https://github.com/the-guild-org/shared-config/pull/374) [`54f1464`](https://github.com/the-guild-org/shared-config/commit/54f14644318fef9ec6c87218f135cb53e818c5a9) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.2.1` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.2.1) (from `4.2.0`, in `dependencies`) ## 2.0.5 ### Patch Changes - [#327](https://github.com/the-guild-org/shared-config/pull/327) [`d96fb9e`](https://github.com/the-guild-org/shared-config/commit/d96fb9e471bd48c8d1d94e8f767e3974a2c65b59) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`prettier-plugin-sh@^0.14.0` ↗︎](https://www.npmjs.com/package/prettier-plugin-sh/v/0.14.0) (from `^0.13.1`, in `dependencies`) ## 2.0.4 ### Patch Changes - [`d1d0b17`](https://github.com/the-guild-org/shared-config/commit/d1d0b174409f827f60df77c4717260b7f5361bdb) Thanks [@ardatan](https://github.com/ardatan)! - Disable trailing comma for JSON files ## 2.0.3 ### Patch Changes - [#317](https://github.com/the-guild-org/shared-config/pull/317) [`d37d14e`](https://github.com/the-guild-org/shared-config/commit/d37d14eee9794d93b1b7129ed6244faa8b470056) Thanks [@dotansimha](https://github.com/dotansimha)! - dependencies updates: - Updated dependency [`prettier-plugin-sh@^0.13.1` ↗︎](https://www.npmjs.com/package/prettier-plugin-sh/v/0.13.1) (from `^0.13.0`, in `dependencies`) ## 2.0.2 ### Patch Changes - [#260](https://github.com/the-guild-org/shared-config/pull/260) [`95ac66a`](https://github.com/the-guild-org/shared-config/commit/95ac66a4a20e8500705fae81bc435449185f1332) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.1.0` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.1.0) (from `4.0.2`, in `dependencies`) - [#288](https://github.com/the-guild-org/shared-config/pull/288) [`dcf502e`](https://github.com/the-guild-org/shared-config/commit/dcf502e8fc51afbe82545a7f34715e29788de88d) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.1.1` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.1.1) (from `4.1.0`, in `dependencies`) ## 2.0.1 ### Patch Changes - [#272](https://github.com/the-guild-org/shared-config/pull/272) [`ac46a51`](https://github.com/the-guild-org/shared-config/commit/ac46a5120b36e6b1193f6672ccbf47923eb95924) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Strings for plugins instead of require statements ## 2.0.0 ### Major Changes - [#254](https://github.com/the-guild-org/shared-config/pull/254) [`20eb218`](https://github.com/the-guild-org/shared-config/commit/20eb218296e24aa225a2a3957047aff6ffdbd205) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`@ianvs/prettier-plugin-sort-imports@4.0.2` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.0.2) (from `4.0.0-alpha.3`, in `dependencies`) - Updated dependency [`prettier-plugin-pkg@^0.18.0` ↗︎](https://www.npmjs.com/package/prettier-plugin-pkg/v/0.18.0) (from `^0.17.1`, in `dependencies`) - Updated dependency [`prettier-plugin-sh@^0.13.0` ↗︎](https://www.npmjs.com/package/prettier-plugin-sh/v/0.13.0) (from `^0.12.8`, in `dependencies`) - Updated dependency [`prettier@^3` ↗︎](https://www.npmjs.com/package/prettier/v/3.0.0) (from `^2`, in `peerDependencies`) ## 1.2.0 ### Minor Changes - [#228](https://github.com/the-guild-org/shared-config/pull/228) [`e899b0c`](https://github.com/the-guild-org/shared-config/commit/e899b0cba701d9b1e7fe193679a5f0a43324100b) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Better prettier plugin for sorting imports ### Patch Changes - [#228](https://github.com/the-guild-org/shared-config/pull/228) [`e899b0c`](https://github.com/the-guild-org/shared-config/commit/e899b0cba701d9b1e7fe193679a5f0a43324100b) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Added dependency [`@ianvs/prettier-plugin-sort-imports@4.0.0-alpha.3` ↗︎](https://www.npmjs.com/package/@ianvs/prettier-plugin-sort-imports/v/4.0.0) (to `dependencies`) - Removed dependency [`@trivago/prettier-plugin-sort-imports@^4.1.1` ↗︎](https://www.npmjs.com/package/@trivago/prettier-plugin-sort-imports/v/4.1.1) (from `dependencies`) ## 1.1.3 ### Patch Changes - [`ec9c470`](https://github.com/the-guild-org/shared-config/commit/ec9c4703445a62dc1e3e58c978cd3dd359526c63) Thanks [@dotansimha](https://github.com/dotansimha)! - Bump @trivago/prettier-plugin-sort-imports ## 1.1.2 ### Patch Changes - [`c307302`](https://github.com/the-guild-org/shared-config/commit/c30730275a7f442c613b7d5268da4dd2ad004950) Thanks [@dotansimha](https://github.com/dotansimha)! - Test release flow ## 1.1.1 ### Patch Changes - [#157](https://github.com/the-guild-org/shared-config/pull/157) [`3f7437f`](https://github.com/the-guild-org/shared-config/commit/3f7437f6430459661b5d40b3f6f49666042b4122) Thanks [@B2o5T](https://github.com/B2o5T)! - format svg with html parser ## 1.1.0 ### Minor Changes - [#154](https://github.com/the-guild-org/shared-config/pull/154) [`8e8e708`](https://github.com/the-guild-org/shared-config/commit/8e8e70847a71de1e5395c1b5a7211a910328daf0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - prettier should be responsible for import sorting instead of eslint ### Patch Changes - [#154](https://github.com/the-guild-org/shared-config/pull/154) [`8e8e708`](https://github.com/the-guild-org/shared-config/commit/8e8e70847a71de1e5395c1b5a7211a910328daf0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Added dependency [`@trivago/prettier-plugin-sort-imports@^4.0.0` ↗︎](https://www.npmjs.com/package/@trivago/prettier-plugin-sort-imports/v/4.0.0) (to `dependencies`) - [#162](https://github.com/the-guild-org/shared-config/pull/162) [`19085c2`](https://github.com/the-guild-org/shared-config/commit/19085c22066663353b49e1b1618b259863d70410) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Even prettier imports ## 1.0.0 ### Major Changes - [#97](https://github.com/the-guild-org/shared-config/pull/97) [`332219e`](https://github.com/the-guild-org/shared-config/commit/332219e166ac43a96ce6470c5b4e9a1243f71774) Thanks [@B2o5T](https://github.com/B2o5T)! - update prettier config ### Patch Changes - [#97](https://github.com/the-guild-org/shared-config/pull/97) [`332219e`](https://github.com/the-guild-org/shared-config/commit/332219e166ac43a96ce6470c5b4e9a1243f71774) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Added dependency [`prettier-plugin-pkg@^0.17.1` ↗︎](https://www.npmjs.com/package/prettier-plugin-pkg/v/0.17.1) (to `dependencies`) ## 0.1.1 ### Patch Changes - [#73](https://github.com/the-guild-org/shared-config/pull/73) [`570f65a`](https://github.com/the-guild-org/shared-config/commit/570f65a26e22049abc1a5a27c7f3ccb5f39d8e7a) Thanks [@B2o5T](https://github.com/B2o5T)! - add `package.json` to `exports` field ## 0.1.0 ### Minor Changes - [#50](https://github.com/the-guild-org/shared-config/pull/50) [`3f642fd`](https://github.com/the-guild-org/shared-config/commit/3f642fd029f946fe3013066b6c1545507ffbeba5) Thanks [@B2o5T](https://github.com/B2o5T)! - update deps ### Patch Changes - [#50](https://github.com/the-guild-org/shared-config/pull/50) [`3f642fd`](https://github.com/the-guild-org/shared-config/commit/3f642fd029f946fe3013066b6c1545507ffbeba5) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`prettier-plugin-sh@^0.12.8` ↗︎](https://www.npmjs.com/package/prettier-plugin-sh/v/null) (from `^0.12.0`, in `dependencies`) ## 0.0.3 ### Patch Changes - [#26](https://github.com/the-guild-org/shared-config/pull/26) [`d650d86`](https://github.com/the-guild-org/shared-config/commit/d650d86fe164f52b17a0486ab8fcf721b205235e) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`prettier-plugin-sh@^0.12.0` ↗︎](https://www.npmjs.com/package/prettier-plugin-sh/v/^0.12.0) (was `^0.11.0`, in `dependencies`) ## 0.0.2 ### Patch Changes - 86ae0ca: Use `require` statements for working around the VSCode plugin being unable to resolve the plugin modules. ## 0.0.1 ### Patch Changes - 73ed164: first alpha version