Content-Length: 467419 | pFad | http://github.com/QuestPackageManager/bsqmods/commit/78df24281624faca54cbc74c0b992382b2b99176

A3 Add prettier config and include extensions in devcontainer.json · QuestPackageManager/bsqmods@78df242 · GitHub
Skip to content

Commit

Permalink
Add prettier config and include extensions in devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTheMan827 authored Aug 14, 2024
1 parent a09fd29 commit 78df242
Showing 13 changed files with 112 additions and 31 deletions.
11 changes: 10 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"postCreateCommand": ".devcontainer/postCreate.sh"
"postCreateCommand": ".devcontainer/postCreate.sh",
"customizations": {
"vscode": {
"extensions": [
"Tyriar.sort-lines",
"astro-build.astro-vscode",
"esbenp.prettier-vscode"
]
}
}
}
1 change: 1 addition & 0 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
cd "$(readlink -f "$(dirname "$0")/..")"

(npm i)
(cd "source" && npm i)
(cd "source/scripts" && npm i)
(cd "source/website" && npm i)
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ version: 2
updates:
- package-ecosystem: "npm"
directories:
- "/"
- "/source"
- "/source/scripts"
- "/source/website"
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"printWidth": 150,
"proseWrap": "preserve",
"semi": true,
"singleAttributePerLine": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"recommendations": [
"astro-build.astro-vscode"
"astro-build.astro-vscode",
"esbenp.prettier-vscode"
]
}
33 changes: 16 additions & 17 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -3,27 +3,26 @@
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"html.format.wrapLineLength": 0,
"html.autoClosingTags": true,
"html.format.extraLiners": "",
"html.format.indentInnerHtml": true,
"html.format.maxPreserveNewLines": 1,
"css.format.maxPreserveNewLines": 1,
"css.format.braceStyle": "collapse",
"css.format.newlineBetweenRules": true,
"css.format.newlineBetweenSelectors": true,
"css.format.preserveNewLines": true,
"editor.tabSize": 2,
"editor.detectIndentation": true,
"editor.wordWrap": "off",
"editor.wordWrapColumn": 9999,
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.tabSize": 2,
"editor.detectIndentation": true,
"editor.wordWrap": "off",
"editor.wordWrapColumn": 9999
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
45 changes: 45 additions & 0 deletions package-lock.json

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

14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "bsqmods",
"version": "1.0.0",
"description": "",
"main": "",
"type": "module",
"scripts": {},
"author": "",
"license": "ISC",
"devDependencies": {
"prettier": "^3.3.3",
"typescript": "^5.5.4"
}
}
5 changes: 3 additions & 2 deletions source/package-lock.json

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

6 changes: 4 additions & 2 deletions source/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "bsqmods",
"name": "bsqmods_source",
"version": "1.0.0",
"description": "",
"main": "",
"type": "module",
"scripts": {},
"scripts": {
"preinstall": "cd .. && npm i"
},
"author": "",
"license": "ISC",
"dependencies": {
4 changes: 0 additions & 4 deletions source/website/.prettierrc.mjs

This file was deleted.

4 changes: 2 additions & 2 deletions source/website/package-lock.json

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

3 changes: 1 addition & 2 deletions source/website/package.json
Original file line number Diff line number Diff line change
@@ -32,7 +32,6 @@
"reset-css": "^5.0.2",
"sass": "^1.77.6",
"tailwindcss": "^3.4.9",
"tailwindcss-safe-area": "^0.5.1",
"typescript": "^5.5.4"
"tailwindcss-safe-area": "^0.5.1"
}
}

0 comments on commit 78df242

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/QuestPackageManager/bsqmods/commit/78df24281624faca54cbc74c0b992382b2b99176

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy