Skip to content

Commit

Permalink
chore: update settings
Browse files Browse the repository at this point in the history
Also, I added the `.env.example` while I was at it.
  • Loading branch information
lishaduck committed Sep 13, 2023
1 parent 59de5d8 commit 491b9b6
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PROJECT_ID="648b3836d14e06cddc4e"
API_ENDPOINT="https://cloud.appwrite.io/v1"
DATABASE_ID="649f3267b89f7b4dfc4b"
COLLECTION_ID="649f327c108ef9b8bfb2"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ doc/api/

# dotenv environment variables file
.env*
!.env.example

# Avoid committing generated Javascript files:
*.dart.js
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"foam.foam-vscode",
"tyriar.luna-paint",
"pflannery.vscode-versionlens",
"streetsidesoftware.code-spell-checker-spanish"
"streetsidesoftware.code-spell-checker-spanish",
"joshbolduc.commitlint"
]
}
42 changes: 39 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"*.dart": "${capture}.*.dart, ${capture}_*.dart",
".markdownlint*": "cspell.json, mlc_config.json",
".flutter-plugins": ".flutter-plugins-dependencies",
"dart_define.json": "custom_lint.log, untranslated.json"
"dart_define.json": "custom_lint.log, untranslated.json",
".env": ".env.example"
},
"sarif-viewer.connectToGithubCodeScanning": "off",
"yaml.schemas": {
Expand All @@ -77,7 +78,42 @@
"**/Thumbs.db": true,
"**/.dart_tool": true
},
"l10nization.haveMetadatas": true,
"l10nization.haveDescription": true,
"dart.renameFilesWithClasses": "prompt",
"dart.previewFlutterUiGuides": true
"dart.previewFlutterUiGuides": true,
"commitlint.config.extend.rules": {
"body-leading-blank": [1, "always"],
"body-max-line-length": [2, "always", 72],
"body-case": [1, "always", ["sentence-case"]],
"footer-leading-blank": [1, "always"],
"footer-max-line-length": [2, "always", 72],
"header-max-length": [2, "always", 50],
"scope-case": [2, "always", "lower-case"],
"subject-case": [
2,
"never",
["sentence-case", "start-case", "pascal-case", "upper-case"]
],
"subject-empty": [2, "never"],
"subject-full-stop": [2, "never", "."],
"type-case": [2, "always", "lower-case"],
"type-empty": [2, "never"],
"type-enum": [
2,
"always",
[
"feat",
"fix",
"docs",
"perf",
"refactor",
"build",
"ci",
"revert",
"style",
"test",
"chore"
]
]
}
}
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,19 @@ dart_define:
variables:
- name: PROJECT_ID
description: Appwrite project ID
default: 648b3836d14e06cddc4e
default: pirate-code
required: false
- name: API_ENDPOINT
description: Appwrite API endpoint
default: https://cloud.appwrite.io/v1
default: http://localhost:80/v1
required: false
- name: DATABASE_ID
description: Appwrite database ID
default: 649f3267b89f7b4dfc4b
default: pirate-coins
required: false
- name: COLLECTION_ID
description: Appwrite collection ID
default: 649f327c108ef9b8bfb2
default: coins
required: false

# dart run flutter_launcher_icons
Expand Down

0 comments on commit 491b9b6

Please sign in to comment.