Jendrik

Results 45 comments of Jendrik

I'm sorry, this was a few days ago and I don't know what my code looked like.

> Would methods or trait impls returning `Result` be a good motivating example here? I'd prefer if we encourage as much as possible.

Please also warn if using a `=` on options that don't take one: ok: `-march=armv4t` probably a bug: `-sysroot=/foo`

I use plotly in a vite-bundled website like so: ```js import Plotly from "plotly.js/lib/core.js"; import scatter from "plotly.js/lib/scatter"; import table from "plotly.js/lib/table"; Plotly.register([scatter, table]); ``` As you can see, I'm...

It can also be `SVGSVGElement`. Or maybe simply `Element`? https://github.com/microsoft/TypeScript/issues/29052

After upgrading from 9.38 to 9.39.1, I now get the following error: ``` eslint.config.mjs:14:19 - error TS2322: Type 'typeof import("/REPO/node_modules/@html-eslint/eslint-plugin/types/index")' is not assignable to type 'Plugin'. Types of property 'rules'...

Reproducer: https://stackblitz.com/edit/stackblitz-starters-eyzcmbhz?file=package.json Run `tsc -p .`

After writing this, I found https://eslint.org/docs/latest/rules/prefer-reflect#reflectdeleteproperty, which covers my use case. You can close this if you want. Also, easy to achieve with plain eslint: `"no-restricted-syntax": ["error", "UnaryExpression[operator=delete]"]`

> Can you explain why `delete object.property` is bad? In my case, the user can upload some data which I visualize. There are a couple of options and parameters and...