Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Prettier config #537

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .prettierconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ arrowParens: "always" # default
bracketSameLine: false # default
bracketSpacing: true # default
embeddedLanguageFormatting: "auto" # default
endOfLine: "lf" # default
endOfLine: "auto" # default is "lf"
filepath: "" # default
htmlWhitespaceSensitivity: "css" # default
insertPragma: false # default
jsxBracketSameLine: false # default
# jsxBracketSameLine: false # deprecated
jsxSingleQuote: false # default
parser: "" # default
printWidth: 80 # Default
printWidth: 80 # default
proseWrap: "preserve" # default
quoteProps: "as-needed" # default
rangeEnd: Infinity # default
# rangeEnd: Infinity # default; "Infinity" can't be read as int
rangeStart: 0 # default
requirePragma: false # default
semi: true # default
singleAttributePerLine: "false" # default
singleAttributePerLine: false # default
singleQuote: false # default
tabWidth: 2 # default
trailingComma: "es5" # default
trailingComma: "all" # default is "es5"
useTabs: false # default
vueIndentScriptAndStyle: false # default
6 changes: 4 additions & 2 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"precheck": "npm -w web run extract && npm -w web run lingui",
"check": "npm run check:format && npm run check:types && npm run check:lint",
"clean": "shx rm -rf **/node_modules **/tsconfig.tsbuildinfo **/build",
"format": "prettier --write cli/src components/src extension/src projects/src runner/src simulator/src web/src",
"format": "prettier --config .prettierconfig.yaml --write cli/src components/src extension/src projects/src runner/src simulator/src web/src",
"fix": "eslint --fix cli/src components/src extension/src projects/src runner/src simulator/src web/src",
"check:format": "prettier --ignore-unknown --check cli/src components/src extension/src projects/src runner/src simulator/src web/src web/public",
"check:format": "prettier --ignore-unknown --config .prettierconfig.yaml --check cli/src components/src extension/src projects/src runner/src simulator/src web/src web/public",
"check:lint": "eslint --no-error-on-unmatched-pattern cli/src components/src extension/src projects/src runner/src simulator/src web/src web/public",
"precheck:types": "npm run build -w projects && npm run build -w runner && npm run build -w simulator && npm run build -w components",
"check:types": "tsc --build tsconfig.json",
Expand Down Expand Up @@ -54,6 +54,7 @@
"devDependencies": {
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"prettier": "^3.4.2",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions web/src/pico/pico.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
/* .75rem */
--form-element-spacing-horizontal: 0.25rem;
/* 1rem */
--font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Noto Sans", sans-serif, "Apple Color Emoji",
--font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-size-monospace: 16px;
--font-family-monospace: "JetBrains Mono", source-code-pro, Menlo, Monaco,
Expand Down
Loading