Linus Unnebäck

Results 747 comments of Linus Unnebäck

Generally I'm positive towards using TypedArrays instead, that's how I work myself. It might be a bit too strict though, and I think that we should evaluate each case thoroughly...

> if you want to send both JSON and binary data then you could do something like [...] This doesn't help me if I want to add e.g. `thumbnail` field...

| Formatting | Linting | | ---------- | ------- | | `array-bracket-spacing` | `accessor-pairs` | | `arrow-spacing` | `array-callback-return` | | `block-spacing` | `camelcase` | | `brace-style` | `constructor-super` |...

I'm currently trying out this config in a TypeScript project: ```js module.exports = { parserOptions: { project: './tsconfig.json', tsconfigRootDir: __dirname }, extends: [ 'standard-with-typescript', 'standard-jsx' ], rules: { // Disable...

That sounds like a good feature, patches welcome 👍

To elaborate a bit on the difference between the two TypeScript syntaxes: `import _ = require('...')` This style compiles down to `const _ = require('...')`. In order to import a...

Just wanted you to know that this is still present, and it's quite annoying when using date-fns in a pure Node.js project when using VS Code. Note that this is...

btw. the change I outlined above should make it work both with or without `esModuleInterop`. It also shouldn't affect any current usage, since the TypeScript definitions will stay exactly the...

What does `pkg-config libpng` output for you? Maybe you need to set your `PKG_CONFIG_PATH` to something under `/opt/boxen`...

It should be easy to let matcha determine if the callback was called in the same tick. It could then to the `setImmediate` if appropriate. Or just use [npm/dezalgo](https://github.com/npm/dezalgo) on...