Mika

Results 15 issues of Mika

Love CtrlP for all my projects. Noticed quite often I'm changing to a sibling file of current file/buffer, and have been trying to write a script to enter such a...

This enables any flags passthrough to binary. Example usage: `supervisor --flags '--experimental-modules,--loader=loader.js' index.mjs` Fixes issues #219 #210 and adds support for any other flags supported by binary. In a rush...

Brace for craziness. Chrome released official support for import maps on March 1. There's a polyfill enabling this in all browsers which have support for ES modules. It would be...

``` const value = useContext(Context) ``` `useContext` doesn't get imported. If I use fixWord, it says **No JS module to import for `useContext`** However when I add it manuallly all...

Based on #550, this PR indeed adds support for importing files that define custom elements. It has a few quirks though. ### Quirks - I want it to be treated...

Perhaps this idea is a bit esoteric, but consider this situation: ### ./file1.js ``` class MyCustomElement extends HTMLElement { ... } window.customElements.define("my-custom-element", MyCustomElement) ``` ### ./file2.js ``` const mydom =...

~~This project uses `.js` extension for files that include TypeScript. This confuses some editors, mine included. Perhaps we could change them to `.ts`?~~ I was confused :-) Let's discuss whether...

question

As of #612 we use JSON schema for validating the configuration using Ajv. I think it would be great if we also documented it there and used a tool for...

enhancement

As of #612 we introduce configuration validation with minimal error messages. It would be nice if we extended it to provide better error messages. Example: ``` { aliases: 123 }...

enhancement

- `no-unused-vars` - no useless returns ... probably several others. These were removed as part of #598