-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update Prettier configuration
- Loading branch information
1 parent
117ba56
commit f06cf65
Showing
31 changed files
with
425 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock | ||
|
||
# Ignore markdown files | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{ | ||
"useTabs": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-css-order"], | ||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], | ||
"proseWrap": "always", | ||
"tabWidth": 2 | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"semi": false, | ||
"tabWidth": 2, | ||
"printWidth": 80, | ||
"htmlWhitespaceSensitivity": "css", | ||
"bracketSameLine": false, | ||
"proseWrap": "always", | ||
"endOfLine": "crlf", | ||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-css-order"], | ||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
// List of extensions which should be recommended for users of this workspace. | ||
"recommendations": [ | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"aaron-bond.better-comments", | ||
"streetsidesoftware.code-spell-checker", | ||
"streetsidesoftware.code-spell-checker-french", | ||
"vunguyentuan.vscode-css-variables", | ||
"usernamehw.errorlens", | ||
"ms-vscode.live-server", | ||
"yzhang.markdown-all-in-one", | ||
"svelte.svelte-vscode", | ||
"miguelsolorio.symbols", | ||
"YoavBls.pretty-ts-errors", | ||
"pmndrs.pmndrs", | ||
"pushqrdx.inline-html", | ||
"mikestead.dotenv", | ||
"inu1255.easy-snippet", | ||
"bbugh.change-color-format", | ||
"inlang.vs-code-extension" | ||
], | ||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
"unwantedRecommendations": [] | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
// List of extensions which should be recommended for users of this workspace. | ||
"recommendations": [ | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"aaron-bond.better-comments", | ||
"streetsidesoftware.code-spell-checker", | ||
"streetsidesoftware.code-spell-checker-french", | ||
"vunguyentuan.vscode-css-variables", | ||
"usernamehw.errorlens", | ||
"ms-vscode.live-server", | ||
"yzhang.markdown-all-in-one", | ||
"svelte.svelte-vscode", | ||
"miguelsolorio.symbols", | ||
"YoavBls.pretty-ts-errors", | ||
"pmndrs.pmndrs", | ||
"pushqrdx.inline-html", | ||
"mikestead.dotenv", | ||
"inu1255.easy-snippet", | ||
"bbugh.change-color-format", | ||
"inlang.vs-code-extension" | ||
], | ||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"about": "About" | ||
} | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"about": "About" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"about": "À propos" | ||
} | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"about": "À propos" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
{ | ||
"name": "tolosat", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --check . && eslint .", | ||
"format": "prettier --write ." | ||
}, | ||
"devDependencies": { | ||
"@iconify-json/tabler": "^1.1.121", | ||
"@inlang/paraglide-js": "1.11.2", | ||
"@inlang/paraglide-sveltekit": "^0.11.0", | ||
"@melt-ui/pp": "^0.3.2", | ||
"@melt-ui/svelte": "^0.79.1", | ||
"@sveltejs/adapter-auto": "^3.2.4", | ||
"@sveltejs/kit": "^2.5.25", | ||
"@sveltejs/vite-plugin-svelte": "^3.1.2", | ||
"@types/eslint": "^8.56.12", | ||
"@typescript-eslint/eslint-plugin": "^7.18.0", | ||
"@typescript-eslint/parser": "^7.18.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-svelte": "^2.43.0", | ||
"mode-watcher": "^0.3.1", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-css-order": "^2.1.2", | ||
"prettier-plugin-svelte": "^3.2.6", | ||
"svelte": "^4.2.19", | ||
"svelte-check": "^3.8.6", | ||
"tslib": "^2.7.0", | ||
"typescript": "^5.5.4", | ||
"unplugin-icons": "^0.19.2", | ||
"vite": "^5.4.2" | ||
}, | ||
"type": "module" | ||
"name": "tolosat", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --check . && eslint .", | ||
"format": "prettier --write ." | ||
}, | ||
"devDependencies": { | ||
"@iconify-json/tabler": "^1.1.121", | ||
"@inlang/paraglide-js": "1.11.2", | ||
"@inlang/paraglide-sveltekit": "^0.11.0", | ||
"@melt-ui/pp": "^0.3.2", | ||
"@melt-ui/svelte": "^0.79.1", | ||
"@sveltejs/adapter-static": "^3.0.4", | ||
"@sveltejs/kit": "^2.5.25", | ||
"@sveltejs/vite-plugin-svelte": "^3.1.2", | ||
"@types/eslint": "^8.56.12", | ||
"@typescript-eslint/eslint-plugin": "^7.18.0", | ||
"@typescript-eslint/parser": "^7.18.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-svelte": "^2.43.0", | ||
"mode-watcher": "^0.3.1", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-css-order": "^2.1.2", | ||
"prettier-plugin-svelte": "^3.2.6", | ||
"svelte": "^4.2.19", | ||
"svelte-check": "^3.8.6", | ||
"tslib": "^2.7.0", | ||
"typescript": "^5.5.4", | ||
"unplugin-icons": "^0.19.2", | ||
"vite": "^5.4.2" | ||
}, | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/project-settings", | ||
"sourceLanguageTag": "en", | ||
"languageTags": [ | ||
"en", | ||
"fr" | ||
], | ||
"modules": [ | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" | ||
], | ||
"plugin.inlang.messageFormat": { | ||
"pathPattern": "./messages/{languageTag}.json" | ||
} | ||
} | ||
"$schema": "https://inlang.com/schema/project-settings", | ||
"sourceLanguageTag": "en", | ||
"languageTags": ["en", "fr"], | ||
"modules": [ | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" | ||
], | ||
"plugin.inlang.messageFormat": { | ||
"pathPattern": "./messages/{languageTag}.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
|
||
html, | ||
body { | ||
height: 100%; | ||
height: 100%; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
margin: 0; | ||
} |
Oops, something went wrong.