Jarek Radosz

Results 60 issues of Jarek Radosz

Shrink down the json representation that is passed from the rubyland into js/miniracer. Previously each entry had ~81 characters of overhead: ```json {"(?:\\P{L}|^)(🌞)(?=\\P{L}|$)":{"word":"🌞","replacement":"🌚","case_sensitive":false} ``` vs now, it's down to ~42:...

Instead of ```hbs {{on "input" (action this.foo value="target.value")}} {{on "input" (action (mut this.bar) value="target.value")}} ``` you can use: ```hbs {{on "input" (pick this.foo)}} {{on "input" (pick (fn (mut this.bar)))}} ```

chat

Looking at EmptyConditionalBody spec, some autocorrect scenarios (in `expect_correction` blocks) actually result in logic-breaking changes. For example: https://github.com/rubocop/rubocop/blob/3f24b822a37f08e54a3e076e3a091f808adc6fa9/spec/rubocop/cop/lint/empty_conditional_body_spec.rb#L115-L133 To make it clearer here's the same case but with more real-world-y...

bug

This rule incorrectly fails on the following code, where there is more than one Route class in a file: ```js import Route from '@ember/routing/route'; import { action } from '@ember/object';...

bug

This rule incorrectly fails on the following code, where a legacy `.extend` class uses decorators: ```js import Route from '@ember/routing/route'; import { action } from '@ember/object'; export default Route.extend({ @action...

bug

Under certain conditions the `--fix` for no-obscure-array-access can generate duplicated lines. before: ```hbs ``` after: ```hbs " id={{get @model "0.id"}} as |value|>" id={{get @model "0.id"}} as |value|> ``` expected: ```hbs...

bug

See: https://github.com/stylelint/stylelint/blob/e45e0092058ce8b12b55cbf98855de23647f5b0f/docs/user-guide/node-api.md#syntax