From 68ad50c581ed2d8dba5a59f98860cba361476667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20B=C3=B6hm?= Date: Tue, 7 Nov 2023 11:32:10 +0100 Subject: [PATCH] feat(prettier): remove line wraps in markdown files (#149) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves #146 ## 📑 Changes - remove line wraps in markdown files for the current repositry - set the general line width of `md`, `yaml` and `yml` files to `130` - reformat all `CHANGELOG.md` files - ignore `MD024/no-duplicate-heading/no-duplicate-header` rule in the VS Code settings --- .changeset/polite-needles-heal.md | 5 ++ .prettierignore | 3 - .prettierrc.cjs | 4 +- .vscode/settings.json | 3 +- README.md | 2 +- packages/commitlint-config/CHANGELOG.md | 12 +-- packages/eslint-config/CHANGELOG.md | 115 +++++++----------------- packages/prettier-config/CHANGELOG.md | 57 ++++-------- packages/prettier-config/README.md | 1 + packages/prettier-config/src/index.ts | 4 +- packages/tsconfig/CHANGELOG.md | 11 +-- 11 files changed, 70 insertions(+), 147 deletions(-) create mode 100644 .changeset/polite-needles-heal.md diff --git a/.changeset/polite-needles-heal.md b/.changeset/polite-needles-heal.md new file mode 100644 index 0000000..6e69c43 --- /dev/null +++ b/.changeset/polite-needles-heal.md @@ -0,0 +1,5 @@ +--- +'@mheob/prettier-config': minor +--- + +remove line wraps in markdown files diff --git a/.prettierignore b/.prettierignore index 59a4038..ed873f4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -16,6 +16,3 @@ coverage out build dist - -# changelog -CHANGELOG.md diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 4f2f4a2..4e7a153 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,12 +1,12 @@ +/** @type {import('prettier').Config} */ module.exports = { ...require('@mheob/prettier-config'), overrides: [ ...require('@mheob/prettier-config').overrides, { - files: '*.md', + files: '**/*.md', options: { - printWidth: 999, proseWrap: 'never', }, }, diff --git a/.vscode/settings.json b/.vscode/settings.json index 551d72a..9de7e83 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,8 @@ { "npm.packageManager": "pnpm", "markdownlint.config": { - "MD010": false + "MD010": false, + "MD024": false }, "typescript.tsdk": "node_modules/typescript/lib" } diff --git a/README.md b/README.md index 88729ae..786008d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ See the readmes in each package for further information. From the [official Kodiak docs](https://kodiakhq.com/docs/config-reference): -> Kodiak's configuration file is a TOML file and should be placed at `.kodiak.toml` (repository root or `.github/.kodiak.toml`. +> Kodiak's configuration file is a TOML file and should be placed at `.kodiak.toml` (repository root or `.github/.kodiak.toml`). If Kodiak cannot find configuration in the repository, Kodiak will use the global configuration in look in the [`.github`](https://github.com/mheob/.github) repository if the project is inside of the `@mheob` scope. diff --git a/packages/commitlint-config/CHANGELOG.md b/packages/commitlint-config/CHANGELOG.md index 7f42024..4297c69 100644 --- a/packages/commitlint-config/CHANGELOG.md +++ b/packages/commitlint-config/CHANGELOG.md @@ -4,26 +4,22 @@ ### Patch Changes -- [#145](https://github.com/mheob/config/pull/145) ([@mheob](https://github.com/mheob)): update - dependencies +- [#145](https://github.com/mheob/config/pull/145) ([@mheob](https://github.com/mheob)): update dependencies ## 1.1.0 ### Minor Changes -- [#128](https://github.com/mheob/config/pull/128) ([@mheob](https://github.com/mheob)): add - `@commitlint/cli` to `peerDependencies` +- [#128](https://github.com/mheob/config/pull/128) ([@mheob](https://github.com/mheob)): add `@commitlint/cli` to `peerDependencies` ## 1.0.1 ### Patch Changes -- chore(deps): update dependencies --> ([#118](https://github.com/mheob/config/pull/118)) by - [@renovate](https://github.com/apps/renovate) +- chore(deps): update dependencies --> ([#118](https://github.com/mheob/config/pull/118)) by [@renovate](https://github.com/apps/renovate) ## 1.0.0 ### Major Changes -- initial release --> ([#115](https://github.com/mheob/config/pull/115)) by - [@mheob](https://github.com/mheob) +- initial release --> ([#115](https://github.com/mheob/config/pull/115)) by [@mheob](https://github.com/mheob) diff --git a/packages/eslint-config/CHANGELOG.md b/packages/eslint-config/CHANGELOG.md index 09bac27..4334dda 100644 --- a/packages/eslint-config/CHANGELOG.md +++ b/packages/eslint-config/CHANGELOG.md @@ -4,187 +4,140 @@ ### Patch Changes -- [#145](https://github.com/mheob/config/pull/145) ([@mheob](https://github.com/mheob)): update - dependencies +- [#145](https://github.com/mheob/config/pull/145) ([@mheob](https://github.com/mheob)): update dependencies -- [#135](https://github.com/mheob/config/pull/135) ([@mheob](https://github.com/mheob)): update - dependencies +- [#135](https://github.com/mheob/config/pull/135) ([@mheob](https://github.com/mheob)): update dependencies ## 5.1.0 ### Minor Changes -- [#131](https://github.com/mheob/config/pull/131) ([@mheob](https://github.com/mheob)): add `cts` - and `mts` file extensions to the eslint config +- [#131](https://github.com/mheob/config/pull/131) ([@mheob](https://github.com/mheob)): add `cts` and `mts` file extensions to the eslint config ### Patch Changes -- [#133](https://github.com/mheob/config/pull/133) ([@mheob](https://github.com/mheob)): update - dependencies +- [#133](https://github.com/mheob/config/pull/133) ([@mheob](https://github.com/mheob)): update dependencies -- [#129](https://github.com/mheob/config/pull/129) ([@renovate](https://github.com/apps/renovate)): - chore(deps): update all non-major dependencies +- [#129](https://github.com/mheob/config/pull/129) ([@renovate](https://github.com/apps/renovate)): chore(deps): update all non-major dependencies ## 5.0.1 ### Patch Changes -- [#125](https://github.com/mheob/config/pull/125) ([@renovate](https://github.com/apps/renovate)): - chore(deps): update all non-major dependencies +- [#125](https://github.com/mheob/config/pull/125) ([@renovate](https://github.com/apps/renovate)): chore(deps): update all non-major dependencies ## 5.0.0 ### Major Changes -- [#124](https://github.com/mheob/config/pull/124) ([@mheob](https://github.com/mheob)): Bump - `eslint-plugin-unicorn` to v47. BREAKING CHANGE: Enable `prefer-at`, `prefer-event-target`, and - `prefer-string-replace-all` in recommended config (see - [#2073](https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2073)) +- [#124](https://github.com/mheob/config/pull/124) ([@mheob](https://github.com/mheob)): Bump `eslint-plugin-unicorn` to v47. BREAKING CHANGE: Enable `prefer-at`, `prefer-event-target`, and `prefer-string-replace-all` in recommended config (see [#2073](https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2073)) ### Patch Changes -- [#122](https://github.com/mheob/config/pull/122) ([@renovate](https://github.com/apps/renovate)): - chore(deps): update all non-major dependencies +- [#122](https://github.com/mheob/config/pull/122) ([@renovate](https://github.com/apps/renovate)): chore(deps): update all non-major dependencies ## 4.2.1 ### Patch Changes -- update dependencies --> ([#121](https://github.com/mheob/config/pull/121)) by - [@mheob](https://github.com/mheob) +- update dependencies --> ([#121](https://github.com/mheob/config/pull/121)) by [@mheob](https://github.com/mheob) ## 4.2.0 ### Minor Changes -- remove explicit return rule --> ([#113](https://github.com/mheob/config/pull/113)) by - [@mheob](https://github.com/mheob) +- remove explicit return rule --> ([#113](https://github.com/mheob/config/pull/113)) by [@mheob](https://github.com/mheob) -- move `explicit-function-return-type` rule to base config --> - ([#116](https://github.com/mheob/config/pull/116)) by [@mheob](https://github.com/mheob) +- move `explicit-function-return-type` rule to base config --> ([#116](https://github.com/mheob/config/pull/116)) by [@mheob](https://github.com/mheob) ### Patch Changes -- update dependencies --> ([#112](https://github.com/mheob/config/pull/112)) by - [@mheob](https://github.com/mheob) +- update dependencies --> ([#112](https://github.com/mheob/config/pull/112)) by [@mheob](https://github.com/mheob) -- fix the README files after the change of using ESLint to fix the imports --> - ([#109](https://github.com/mheob/config/pull/109)) by [@mheob](https://github.com/mheob) +- fix the README files after the change of using ESLint to fix the imports --> ([#109](https://github.com/mheob/config/pull/109)) by [@mheob](https://github.com/mheob) ## 4.1.0 ### Minor Changes -- add auto-fix for unused imports and vars --> ([#106](https://github.com/mheob/config/pull/106)) by - [@mheob](https://github.com/mheob) +- add auto-fix for unused imports and vars --> ([#106](https://github.com/mheob/config/pull/106)) by [@mheob](https://github.com/mheob) ### Patch Changes -- bump `eslint-config-next` to `13.1.0` --> ([#106](https://github.com/mheob/config/pull/106)) by - [@mheob](https://github.com/mheob) +- bump `eslint-config-next` to `13.1.0` --> ([#106](https://github.com/mheob/config/pull/106)) by [@mheob](https://github.com/mheob) ## 4.0.0 ### Major Changes -- add `eslint-plugin-simple-import-sort` and `eslint-plugin-import` ESLint plugins --> - ([#103](https://github.com/mheob/config/pull/103)) by [@mheob](https://github.com/mheob) +- add `eslint-plugin-simple-import-sort` and `eslint-plugin-import` ESLint plugins --> ([#103](https://github.com/mheob/config/pull/103)) by [@mheob](https://github.com/mheob) ### Minor Changes -- add newest rules from `eslint-plugin-unicorn` --> - ([#101](https://github.com/mheob/config/pull/101)) by [@mheob](https://github.com/mheob) +- add newest rules from `eslint-plugin-unicorn` --> ([#101](https://github.com/mheob/config/pull/101)) by [@mheob](https://github.com/mheob) ### Patch Changes -- chore(deps): update all non-major dependencies --> - ([#99](https://github.com/mheob/config/pull/99)) by [@renovate](https://github.com/apps/renovate) +- chore(deps): update all non-major dependencies --> ([#99](https://github.com/mheob/config/pull/99)) by [@renovate](https://github.com/apps/renovate) -- chore(deps): update all non-major dependencies --> - ([#95](https://github.com/mheob/config/pull/95)) by [@renovate](https://github.com/apps/renovate) +- chore(deps): update all non-major dependencies --> ([#95](https://github.com/mheob/config/pull/95)) by [@renovate](https://github.com/apps/renovate) ## 3.1.0 ### Minor Changes -- disable `unicorn/no-array-reduce` ESLint rule --> ([#93](https://github.com/mheob/config/pull/93)) - by [@mheob](https://github.com/mheob) +- disable `unicorn/no-array-reduce` ESLint rule --> ([#93](https://github.com/mheob/config/pull/93)) by [@mheob](https://github.com/mheob) ### Patch Changes -- bump eslint to ^8.27.0 --> ([#91](https://github.com/mheob/config/pull/91)) by - [@renovate](https://github.com/apps/renovate) -- bump `@typescript-eslint` monorepo --> ([#89](https://github.com/mheob/config/pull/89)) by - [@mheob](https://github.com/mheob) +- bump eslint to ^8.27.0 --> ([#91](https://github.com/mheob/config/pull/91)) by [@renovate](https://github.com/apps/renovate) +- bump `@typescript-eslint` monorepo --> ([#89](https://github.com/mheob/config/pull/89)) by [@mheob](https://github.com/mheob) ## 3.0.1 ### Patch Changes -- Update dependencies --> ([#77](https://github.com/mheob/config/pull/77)) by - [@mheob](https://github.com/mheob) +- Update dependencies --> ([#77](https://github.com/mheob/config/pull/77)) by [@mheob](https://github.com/mheob) -- update dependencies --> ([#81](https://github.com/mheob/config/pull/81)) by - [@mheob](https://github.com/mheob) +- update dependencies --> ([#81](https://github.com/mheob/config/pull/81)) by [@mheob](https://github.com/mheob) -- update dependencies --> ([#86](https://github.com/mheob/config/pull/86)) by - [@mheob](https://github.com/mheob) +- update dependencies --> ([#86](https://github.com/mheob/config/pull/86)) by [@mheob](https://github.com/mheob) -- update dependencies --> ([#84](https://github.com/mheob/config/pull/84)) by - [@renovate](https://github.com/apps/renovate) +- update dependencies --> ([#84](https://github.com/mheob/config/pull/84)) by [@renovate](https://github.com/apps/renovate) ## 3.0.0 ### Major Changes -- [#72](https://github.com/mheob/config/pull/72) - [`6c13a4f`](https://github.com/mheob/config/commit/6c13a4fdabf14e2e4f0aa3495a328e45356ee6ff) - Thanks [@mheob](https://github.com/mheob)! - Update dependencies and use the new rules from - `eslint-plugin-unicorn`, especially - [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md) +- [#72](https://github.com/mheob/config/pull/72) [`6c13a4f`](https://github.com/mheob/config/commit/6c13a4fdabf14e2e4f0aa3495a328e45356ee6ff) Thanks [@mheob](https://github.com/mheob)! - Update dependencies and use the new rules from `eslint-plugin-unicorn`, especially [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md) ## 2.2.0 ### Minor Changes -- [#59](https://github.com/mheob/config/pull/59) - [`ec5e9e3`](https://github.com/mheob/config/commit/ec5e9e3a75aec80591c23aaa55b28932d6db7036) - Thanks [@mheob](https://github.com/mheob)! - Disable `unicorn/no-array-for-each` rule as default +- [#59](https://github.com/mheob/config/pull/59) [`ec5e9e3`](https://github.com/mheob/config/commit/ec5e9e3a75aec80591c23aaa55b28932d6db7036) Thanks [@mheob](https://github.com/mheob)! - Disable `unicorn/no-array-for-each` rule as default ### Patch Changes -- [#60](https://github.com/mheob/config/pull/60) - [`12b3867`](https://github.com/mheob/config/commit/12b38679f9fa123e20e634932ae1c8e277421464) - Thanks [@mheob](https://github.com/mheob)! - Update dependencies +- [#60](https://github.com/mheob/config/pull/60) [`12b3867`](https://github.com/mheob/config/commit/12b38679f9fa123e20e634932ae1c8e277421464) Thanks [@mheob](https://github.com/mheob)! - Update dependencies ## 2.1.2 ### Patch Changes -- [#53](https://github.com/mheob/config/pull/53) - [`f7b87f4`](https://github.com/mheob/config/commit/f7b87f470129ee795855484b7ca394f2980ba8b1) - Thanks [@mheob](https://github.com/mheob)! - Simpplify and fix calling sub configurations +- [#53](https://github.com/mheob/config/pull/53) [`f7b87f4`](https://github.com/mheob/config/commit/f7b87f470129ee795855484b7ca394f2980ba8b1) Thanks [@mheob](https://github.com/mheob)! - Simpplify and fix calling sub configurations ## 2.1.1 ### Patch Changes -- [#49](https://github.com/mheob/config/pull/49) - [`348d277`](https://github.com/mheob/config/commit/348d27713aab3a4927447f9870075cb2ace4275e) - Thanks [@mheob](https://github.com/mheob)! - Update dependencies +- [#49](https://github.com/mheob/config/pull/49) [`348d277`](https://github.com/mheob/config/commit/348d27713aab3a4927447f9870075cb2ace4275e) Thanks [@mheob](https://github.com/mheob)! - Update dependencies -- [#46](https://github.com/mheob/config/pull/46) - [`6f731ee`](https://github.com/mheob/config/commit/6f731eeba2c6cf3f8e8ce896e19069bc88d45557) - Thanks [@mheob](https://github.com/mheob)! - Switch to typescript as source files +- [#46](https://github.com/mheob/config/pull/46) [`6f731ee`](https://github.com/mheob/config/commit/6f731eeba2c6cf3f8e8ce896e19069bc88d45557) Thanks [@mheob](https://github.com/mheob)! - Switch to typescript as source files -- [#42](https://github.com/mheob/config/pull/42) - [`cf8ba94`](https://github.com/mheob/config/commit/cf8ba94f23489673593eb101dcab47af445054a0) - Thanks [@mheob](https://github.com/mheob)! - Format all files to the new tabs instead of spaces - behaviour +- [#42](https://github.com/mheob/config/pull/42) [`cf8ba94`](https://github.com/mheob/config/commit/cf8ba94f23489673593eb101dcab47af445054a0) Thanks [@mheob](https://github.com/mheob)! - Format all files to the new tabs instead of spaces behaviour -- [#36](https://github.com/mheob/config/pull/36) - [`fd1474e`](https://github.com/mheob/config/commit/fd1474e0bcb9d6495a53358b4da62ec7d4754994) - Thanks [@mheob](https://github.com/mheob)! - Update dependencies +- [#36](https://github.com/mheob/config/pull/36) [`fd1474e`](https://github.com/mheob/config/commit/fd1474e0bcb9d6495a53358b4da62ec7d4754994) Thanks [@mheob](https://github.com/mheob)! - Update dependencies ## 2.1.0 diff --git a/packages/prettier-config/CHANGELOG.md b/packages/prettier-config/CHANGELOG.md index ced5593..156b810 100644 --- a/packages/prettier-config/CHANGELOG.md +++ b/packages/prettier-config/CHANGELOG.md @@ -4,96 +4,71 @@ ### Patch Changes -- [#145](https://github.com/mheob/config/pull/145) ([@mheob](https://github.com/mheob)): update - dependencies +- [#145](https://github.com/mheob/config/pull/145) ([@mheob](https://github.com/mheob)): update dependencies ## 3.1.0 ### Minor Changes -- [#133](https://github.com/mheob/config/pull/133) ([@mheob](https://github.com/mheob)): bump - prettier to version 3 +- [#133](https://github.com/mheob/config/pull/133) ([@mheob](https://github.com/mheob)): bump prettier to version 3 ## 3.0.1 ### Patch Changes -- fix the README files after the change of using ESLint to fix the imports --> - ([#109](https://github.com/mheob/config/pull/109)) by [@mheob](https://github.com/mheob) +- fix the README files after the change of using ESLint to fix the imports --> ([#109](https://github.com/mheob/config/pull/109)) by [@mheob](https://github.com/mheob) ## 3.0.0 ### Major Changes -- remove `@trivago/prettier-plugin-sort-imports` --> - ([#102](https://github.com/mheob/config/pull/102)) by [@mheob](https://github.com/mheob) +- remove `@trivago/prettier-plugin-sort-imports` --> ([#102](https://github.com/mheob/config/pull/102)) by [@mheob](https://github.com/mheob) ### Patch Changes -- chore(deps): update all non-major dependencies --> - ([#95](https://github.com/mheob/config/pull/95)) by [@renovate](https://github.com/apps/renovate) +- chore(deps): update all non-major dependencies --> ([#95](https://github.com/mheob/config/pull/95)) by [@renovate](https://github.com/apps/renovate) ## 2.0.3 ### Patch Changes -- update dependencies --> ([#81](https://github.com/mheob/config/pull/81)) by - [@mheob](https://github.com/mheob) +- update dependencies --> ([#81](https://github.com/mheob/config/pull/81)) by [@mheob](https://github.com/mheob) -- update dependencies --> ([#86](https://github.com/mheob/config/pull/86)) by - [@mheob](https://github.com/mheob) +- update dependencies --> ([#86](https://github.com/mheob/config/pull/86)) by [@mheob](https://github.com/mheob) -- update dependencies --> ([#84](https://github.com/mheob/config/pull/84)) by - [@renovate](https://github.com/apps/renovate) +- update dependencies --> ([#84](https://github.com/mheob/config/pull/84)) by [@renovate](https://github.com/apps/renovate) ## 2.0.2 ### Patch Changes -- [#71](https://github.com/mheob/config/pull/71) - [`b79f37d`](https://github.com/mheob/config/commit/b79f37d8ede49c113938fa72389ce2277485ccbb) - Thanks [@mheob](https://github.com/mheob)! - Remove obsolete `prettier-plugin-jsdoc` package +- [#71](https://github.com/mheob/config/pull/71) [`b79f37d`](https://github.com/mheob/config/commit/b79f37d8ede49c113938fa72389ce2277485ccbb) Thanks [@mheob](https://github.com/mheob)! - Remove obsolete `prettier-plugin-jsdoc` package ## 2.0.1 ### Patch Changes -- [#63](https://github.com/mheob/config/pull/63) - [`49204ca`](https://github.com/mheob/config/commit/49204ca26b3c0b1d4efa11f7f3ef06166fbe8873) - Thanks [@mheob](https://github.com/mheob)! - Add the newest ruleset to the README +- [#63](https://github.com/mheob/config/pull/63) [`49204ca`](https://github.com/mheob/config/commit/49204ca26b3c0b1d4efa11f7f3ef06166fbe8873) Thanks [@mheob](https://github.com/mheob)! - Add the newest ruleset to the README -- [#60](https://github.com/mheob/config/pull/60) - [`12b3867`](https://github.com/mheob/config/commit/12b38679f9fa123e20e634932ae1c8e277421464) - Thanks [@mheob](https://github.com/mheob)! - Update dependencies +- [#60](https://github.com/mheob/config/pull/60) [`12b3867`](https://github.com/mheob/config/commit/12b38679f9fa123e20e634932ae1c8e277421464) Thanks [@mheob](https://github.com/mheob)! - Update dependencies ## 2.0.0 ### Major Changes -- [#42](https://github.com/mheob/config/pull/42) - [`cf8ba94`](https://github.com/mheob/config/commit/cf8ba94f23489673593eb101dcab47af445054a0) - Thanks [@mheob](https://github.com/mheob)! - Switch from spaces to tabs as indentation +- [#42](https://github.com/mheob/config/pull/42) [`cf8ba94`](https://github.com/mheob/config/commit/cf8ba94f23489673593eb101dcab47af445054a0) Thanks [@mheob](https://github.com/mheob)! - Switch from spaces to tabs as indentation ### Minor Changes -- [#52](https://github.com/mheob/config/pull/52) - [`8bc72cd`](https://github.com/mheob/config/commit/8bc72cd4844ce2e7bb224a00dbaf7117efd81269) - Thanks [@mheob](https://github.com/mheob)! - Use spaces instead of tabs in yaml files +- [#52](https://github.com/mheob/config/pull/52) [`8bc72cd`](https://github.com/mheob/config/commit/8bc72cd4844ce2e7bb224a00dbaf7117efd81269) Thanks [@mheob](https://github.com/mheob)! - Use spaces instead of tabs in yaml files ### Patch Changes -- [#46](https://github.com/mheob/config/pull/46) - [`6f731ee`](https://github.com/mheob/config/commit/6f731eeba2c6cf3f8e8ce896e19069bc88d45557) - Thanks [@mheob](https://github.com/mheob)! - Switch to typescript as source files +- [#46](https://github.com/mheob/config/pull/46) [`6f731ee`](https://github.com/mheob/config/commit/6f731eeba2c6cf3f8e8ce896e19069bc88d45557) Thanks [@mheob](https://github.com/mheob)! - Switch to typescript as source files -- [#42](https://github.com/mheob/config/pull/42) - [`cf8ba94`](https://github.com/mheob/config/commit/cf8ba94f23489673593eb101dcab47af445054a0) - Thanks [@mheob](https://github.com/mheob)! - Format all files to the new tabs instead of spaces - behaviour +- [#42](https://github.com/mheob/config/pull/42) [`cf8ba94`](https://github.com/mheob/config/commit/cf8ba94f23489673593eb101dcab47af445054a0) Thanks [@mheob](https://github.com/mheob)! - Format all files to the new tabs instead of spaces behaviour -- [#36](https://github.com/mheob/config/pull/36) - [`fd1474e`](https://github.com/mheob/config/commit/fd1474e0bcb9d6495a53358b4da62ec7d4754994) - Thanks [@mheob](https://github.com/mheob)! - Update dependencies +- [#36](https://github.com/mheob/config/pull/36) [`fd1474e`](https://github.com/mheob/config/commit/fd1474e0bcb9d6495a53358b4da62ec7d4754994) Thanks [@mheob](https://github.com/mheob)! - Update dependencies ## 1.4.0 diff --git a/packages/prettier-config/README.md b/packages/prettier-config/README.md index d50d277..0a6c54e 100644 --- a/packages/prettier-config/README.md +++ b/packages/prettier-config/README.md @@ -28,6 +28,7 @@ If you need to override some settings you can do it this way: ```js // .prettierrc.cjs +/** @type {import('prettier').Config} */ module.exports = { ...require('@mheob/prettier-config'), semi: false, diff --git a/packages/prettier-config/src/index.ts b/packages/prettier-config/src/index.ts index c8168a6..60004f8 100644 --- a/packages/prettier-config/src/index.ts +++ b/packages/prettier-config/src/index.ts @@ -12,7 +12,7 @@ const options: Config = { overrides: [ { - files: '*.{yaml,yml}', + files: '**/*.{yaml,yml}', options: { printWidth: 130, singleQuote: false, @@ -20,7 +20,7 @@ const options: Config = { }, }, { - files: '*.md', + files: '**/*.md', options: { printWidth: 130, }, diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index 1fdd046..3c6ef33 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -4,21 +4,16 @@ ### Major Changes -- remove depricated `importsNotUsedAsValues` config --> - ([#121](https://github.com/mheob/config/pull/121)) by [@mheob](https://github.com/mheob) +- remove depricated `importsNotUsedAsValues` config --> ([#121](https://github.com/mheob/config/pull/121)) by [@mheob](https://github.com/mheob) ## 1.0.1 ### Patch Changes -- [#55](https://github.com/mheob/config/pull/55) - [`27aa074`](https://github.com/mheob/config/commit/27aa07445d4ca381070ce9c0549fcc4fb079ce97) - Thanks [@mheob](https://github.com/mheob)! - Simpplify and fix calling sub configurations +- [#55](https://github.com/mheob/config/pull/55) [`27aa074`](https://github.com/mheob/config/commit/27aa07445d4ca381070ce9c0549fcc4fb079ce97) Thanks [@mheob](https://github.com/mheob)! - Simpplify and fix calling sub configurations ## 1.0.0 ### Major Changes -- [#43](https://github.com/mheob/config/pull/43) - [`c4e3768`](https://github.com/mheob/config/commit/c4e3768035f4b37d3e5f88115c66de25b41d335a) - Thanks [@mheob](https://github.com/mheob)! - Initial Release +- [#43](https://github.com/mheob/config/pull/43) [`c4e3768`](https://github.com/mheob/config/commit/c4e3768035f4b37d3e5f88115c66de25b41d335a) Thanks [@mheob](https://github.com/mheob)! - Initial Release