coderaiser

Results 257 comments of coderaiser

Yes it works with `.mjs` extension! > Bun enables the JSX transform by default in .js files, but does not in any of the other non-jsx file extensions The thing...

[This](https://github.com/atabel/tape-jsx-equals/pull/5) should fix it.

Would be amazing to have ability to determine that rule should make some modifications to `markdown` file or just to report. For example [🐊 `Putout`](https://github.com/coderaiser/putout) `rule` has a [split to...

Here is what I came up with. Create one `runner` rule: ```js import {lintRule} from 'unified-lint-rule'; import removeDependenciesStatusBadge from './remove-dependencies-status-badge.mjs'; import removeTrailingWhitespacesFromHeading from './remove-trailing-whitespaces-from-heading.mjs'; const plugins = [ removeDependenciesStatusBadge, removeTrailingWhitespacesFromHeading,...

Yes, and I just realized that the best possible solution would be to get `AST` root node without actual traversing, something like this: ```js create: async function(context) { const ast...

> You can already get the AST via context.getSourceCode().ast. This is very good, I didn't know about that (didn't find in [documentation](https://eslint.org/docs/developer-guide/nodejs-api)). > Are you looking for something more than...

> the ecosystem is not actually moving towards ESM-only - if you subtract out a single package author, it’s essentially not moving at all. One author does not the ecosystem...

Why don't use: ``` npx minify static/index.html > static/.index.html && mv static/.index.html static/index.html ```