Albert Marashi

Results 225 comments of Albert Marashi

@baseballyama I don't really want to add another tool to my stack I am familiar with ESLint

@baseballyama out of curiosity, how difficult would it be to entirely avoid indenting-related issues in `ts` or `js` script code, and instead allow us to rely purely on a plugin...

Thankfully, I can ignore the `SvelteScriptElement` in it's entirety: ```ts "svelte/indent": ["error", { indentScript: false, ignoredNodes: ["SvelteScriptElement"], alignAttributesVertically: true, indent: 4, }] ``` However, only issue is that I am...

https://github.com/sveltejs/eslint-plugin-svelte/blob/99e67b395cabd449ab9bb7763a942af507657022/packages/eslint-plugin-svelte/src/rules/indent-helpers/index.ts#L206-L210 I think it might be better to remove the ES/TS visitors and just let other ESLints handle such formatting rules, but perhaps merely have a setting for `indentScript`?

When I get some time, I'll give it a shot if you believe it is the right direction? Since we no longer need to spend as much time worrying about...

For some reason, I had to add this within my svelte langauge settings in `settings.json` -> `languages` ```jsonc "Svelte": { "prettier": { "allowed": true }, "format_on_save": "prettier", "code_actions_on_format": { "source.fixAll.eslint":...

Adding an `export {}` to the end of the virtual script code resolves this issue, as it forces typescript to treat the module as an actual module

@kearfy ``` > surreal export --ns development --db siteforge 2024-09-24T10:56:52.127680Z ERROR surreal::cli: There was a problem with the database: The protocol or storage engine does not support backups on this...

@kearfy great, for some reason I had to specify `-u root` and `-p root` otherwise it'd error with: ``` > surreal export --ns development --db siteforge -e http://localhost:8000 2024-09-24T11:03:33.306744Z ERROR...