Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
TAG: ${{ github.event.release.tag_name || github.sha }}
STACK_FILE: docker/production.yml
STACK_FILE: deploy/docker/production.yml
REPOSITORY: website
REGISTRY_USERNAME: christyjacob4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
TAG: ${{ github.sha }}
STACK_FILE: docker/stage.yml
STACK_FILE: deploy/docker/stage.yml
REPOSITORY: website
REGISTRY_USERNAME: christyjacob4

Expand Down
File renamed without changes.
File renamed without changes.
27 changes: 8 additions & 19 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,37 @@
import prettier from 'eslint-config-prettier';
import { fileURLToPath } from 'node:url';
import { includeIgnoreFile } from '@eslint/compat';
import js from '@eslint/js';
import prettier from 'eslint-config-prettier';
import svelte from 'eslint-plugin-svelte';
import { defineConfig } from 'eslint/config';
import globals from 'globals';
import { fileURLToPath } from 'node:url';
import ts from 'typescript-eslint';
import svelteConfig from './svelte.config.js';

const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));

export default ts.config(
export default defineConfig(
includeIgnoreFile(gitignorePath),
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs.recommended,
prettier,
...svelte.configs.prettier,
{ ignores: ['/deploy/**'] },
{
languageOptions: {
globals: { ...globals.browser, ...globals.node }
},
rules: {
// TODO: remove them one by one
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'svelte/infinite-reactive-loop': 'off',
'svelte/require-each-key': 'off',
'svelte/no-immutable-reactive-statements': 'off',
'svelte/no-at-html-tags': 'off',
'svelte/no-useless-mustaches': 'off',
'svelte/no-reactive-reassign': 'off',
'svelte/no-reactive-literals': 'off'
// typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
'no-undef': 'off'
}
},
{
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
ignores: ['eslint.config.js', 'svelte.config.js', '/deploy/**'],
languageOptions: {
parserOptions: {
// Only uncomment this if you want it to take 3 minutes https://github.com/sveltejs/eslint-plugin-svelte/issues/1084
// projectService: true,
projectService: true,
extraFileExtensions: ['.svelte'],
parser: ts.parser,
svelteConfig
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@appwrite.io/pink": "~0.26.0",
"@appwrite.io/pink-icons": "~0.26.0",
"@appwrite.io/repo": "github:appwrite/appwrite#1.8.x",
"@eslint/compat": "^1.2.7",
"@eslint/js": "^9.21.0",
"@eslint/compat": "^1.4.0",
"@eslint/js": "^9.36.0",
"@fingerprintjs/fingerprintjs": "^4.5.1",
"@internationalized/date": "3.5.0",
"@melt-ui/pp": "^0.3.2",
Expand Down Expand Up @@ -68,11 +68,11 @@
"embla-carousel-auto-scroll": "^8.5.2",
"embla-carousel-svelte": "^8.5.2",
"embla-carousel-wheel-gestures": "^8.0.1",
"eslint": "^9.19.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.1",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.12.4",
"fuse.js": "^7.0.0",
"globals": "^15.14.0",
"globals": "^16.4.0",
"highlight.js": "^11.11.1",
"linkedom": "^0.18.9",
"markdown-it": "^14.1.0",
Expand All @@ -88,8 +88,8 @@
"postcss": "^8.5.1",
"posthog-js": "^1.204.0",
"posthog-node": "^4.4.1",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.3",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"prettier-plugin-tailwindcss": "^0.6.11",
"proj4": "^2.17.0",
"remeda": "^2.20.0",
Expand Down
Loading