Skip to content

Commit

Permalink
chore: added linting for pnpm-lock file quotes (#2301)
Browse files Browse the repository at this point in the history
* Added linting for pnpm-lock file quotes

* Linting to match `pnpm install`

---------

Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
  • Loading branch information
petertonysmith94 and arboleya authored May 15, 2024
1 parent 1498f75 commit 8a6106c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
"options": {
"useTabs": false
}
},
{
"files": ["pnpm-lock.yaml"],
"options": {
"singleQuote": true,
"printWidth": 300,
"bracketSpacing": false
}
}
]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"lint:fix": "pnpm lint:check --fix",
"lint:md-links": "tsx ./scripts/lint-md-links",
"lint:package-jsons": "tsx ./scripts/lint-package-jsons",
"prettier:check": "prettier --check packages --check apps/docs-snippets",
"prettier:format": "prettier --write packages --check apps/docs-snippets",
"prettier:check": "prettier --check pnpm-lock.yaml --check packages --check apps/docs-snippets",
"prettier:format": "prettier --write pnpm-lock.yaml --write packages --check apps/docs-snippets",
"verify:package-exports": "tsx ./scripts/verify-package-exports",
"changeset:publish": "tsx ./scripts/changeset/changeset-publish",
"changeset:next": "tsx ./scripts/changeset/changeset-next",
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8a6106c

Please sign in to comment.