Skip to content

Commit

Permalink
Configure Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed May 23, 2024
1 parent c811d78 commit 67abbc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
15 changes: 0 additions & 15 deletions .prettierrc

This file was deleted.

16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,21 @@
},
"homepage": "https://github.com/hugomods/____",
"devDependencies": {
"@hugomods/prettier-config": "^0.0.2",
"@tsconfig/recommended": "^1.0.2",
"prettier": "^3.0.0",
"prettier-plugin-go-template": "^0.0.15",
"stylelint": "^16.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-scss": "^6.0.0",
"ts-standard": "^12.0.2"
},
"scripts": {
"lint": "npm run eslint && npm run stylelint",
"eslint": "ts-standard",
"stylelint": "npx stylelint \"**/*.scss\""
}
"lint": "npm run lint:prettier && npm run lint:style && npm run lint:standard",
"lint:prettier": "prettier **/*.html i18n/* data/* **/*.md --check",
"lint:prettier:fix": "prettier **/*.html i18n/* data/* **/*.md -w",
"lint:standard": "ts-standard .",
"lint:standard:fix": "ts-standard --fix .",
"lint:style": "stylelint \"**/*.scss\"",
"lint:style:fix": "stylelint \"**/*.scss\" --fix"
},
"prettier": "@hugomods/prettier-config"
}

0 comments on commit 67abbc0

Please sign in to comment.