mirror of
https://github.com/PaulRBerg/hardhat-template.git
synced 2026-01-09 14:07:58 -05:00
chore: enable proseWrap only for Markdown
chore: delete default Prettier rules
This commit is contained in:
3
.github/workflows/use-template.yml
vendored
3
.github/workflows/use-template.yml
vendored
@@ -19,8 +19,7 @@ jobs:
|
||||
- name: "Update package.json"
|
||||
env:
|
||||
GITHUB_REPOSITORY_DESCRIPTION: ${{ github.event.repository.description }}
|
||||
run:
|
||||
./.github/scripts/rename.sh "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY_OWNER" "$GITHUB_REPOSITORY_DESCRIPTION"
|
||||
run: ./.github/scripts/rename.sh "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY_OWNER" "$GITHUB_REPOSITORY_DESCRIPTION"
|
||||
|
||||
- name: "Add rename summary"
|
||||
run: |
|
||||
|
||||
@@ -2,10 +2,12 @@ plugins:
|
||||
- "@trivago/prettier-plugin-sort-imports"
|
||||
- "prettier-plugin-solidity"
|
||||
printWidth: 120
|
||||
proseWrap: "always"
|
||||
trailingComma: "all"
|
||||
|
||||
overrides:
|
||||
- files: "*.md"
|
||||
options:
|
||||
proseWrap: "always"
|
||||
- files: "*.sol"
|
||||
options:
|
||||
compiler: "0.8.17"
|
||||
|
||||
Reference in New Issue
Block a user