Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sxzz/prettier-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0
Choose a base ref
...
head repository: sxzz/prettier-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.1
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 27, 2024

  1. feat: update overrides files (#1)

    LoTwT authored Feb 27, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e4b1241 View commit details
  2. chore: add type annotation

    sxzz committed Feb 27, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    sdelamo Sergio del Amo
    Copy the full SHA
    7e49e16 View commit details
  3. chore: release v2.0.1

    sxzz committed Feb 27, 2024
    Copy the full SHA
    1e5cc30 View commit details
Showing with 4 additions and 1 deletion.
  1. +1 −0 README.md
  2. +2 −0 index.js
  3. +1 −1 package.json
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ npm i -D @sxzz/prettier-config

- No semi
- Single quotes
- Trailing comma

## Reference

2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('prettier').Options} */
module.exports = {
semi: false,
singleQuote: true,
@@ -24,6 +25,7 @@ module.exports = {
'**/__snapshots__',
'**/auto-import?(s).d.ts',
'**/components.d.ts',
'**/typed-router.d.ts',
'**/pnpm-lock.yaml',
],
options: {
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sxzz/prettier-config",
"version": "2.0.0",
"version": "2.0.1",
"packageManager": "pnpm@8.6.0",
"description": "Prettier config for @sxzz",
"license": "MIT",