strager

Results 356 comments of strager

Some interesting syntax quirks related to JSX: https://github.com/rome/tools/blob/f68757316355bb931c0420a686082297978a370e/crates/rome_js_parser/test_data/inline/err/jsx_or_type_assertion.js https://stackoverflow.com/a/54614279/39992

Here's an interesting file we could use for performance testing (almost 7 MiB): https://raw.githubusercontent.com/NativeScript/NativeScript/main/packages/types-android/src/lib/android/android-platform-31.d.ts and another (over 2 MiB): https://github.com/microsoft/TypeScript/blob/main/src/compiler/checker.ts

Audit of a Linux build (libstdc++): * `std::__throw_length_error` is called by `std::vector`. * `std::__throw_out_of_range_fmt` is called by `std::string::substr`. * `std::__throw_logic_error` is called by `std::string::string`. * `std::__throw_bad_alloc` is called by various...

A plan: * Replace std::string file paths with a custom class. * Replace other uses of std::string with arrays or vector or something. * Replace std::vector with boost or another...

@AbleBacon I recall some range checks too (e.g. for `std::vector::at`), not just `std::bad_alloc`.

We probably just need to do the same thing we do with `await` for non-async functions.

Fix released in version 2.9.0. https://quick-lint-js.com/releases/

> Are you looking to self-host something full-featured with issues, PRs, etc. like [Gitea](https://gitea.io/) No, that's not necessary. I think I just want plain Git repo over HTTP so people...

Some areas where this might be useful: * Full-document changes in the LSP server (`linting_lsp_server_handler::apply_document_changes`). This would probably be the biggest beneficiary of the unescape API. * Incremental changes in...

I did some research into this. I [set up a GitLab **CE** instance](https://about.gitlab.com/install/) on a Debian 11 VM, then set up a [`docker` runner](https://oramind.com/private-cicd-using-gitlab-docker/) on an Ubuntu 22.04 VM. It...