Pyrolistical

Results 51 issues of Pyrolistical

On my local, I use http://localhost:8080/greetings, but deployed its https://production/some-path/greetings In my code, I want to write `` and have it work in both dev and production React-router has this:...

QUESTION

Fixes #10 Fixed demo https://codesandbox.io/s/nnmy7jnz0l

I ported the demo into Preact: https://codesandbox.io/s/kw9yy439yv Preact treats children differently. Its always an array https://github.com/developit/preact-compat/issues/366 We make easily make this work for React and Preact by checking if children...

it starts spawning 4 tiles after you get at least a 2048 tile and have no more 2 tiles on the board. then starts spawn 8 titles after you make...

I love inline-css, but I don't like the mental gymnastics I need to do to convert css into a js object. Could we add template literal support to allow us...

### 🤔 What's the problem you're trying to solve? It is such a common problem that users use arrow functions in step definitions, that this is a FAQ item https://github.com/cucumber/cucumber-js/blob/main/docs/faq.md#the-world-instance-isnt-available-in-my-hooks-or-step-definitions...

:zap: enhancement

### Description Often [`no-for-loop`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-for-loop.md) results in something that could be simplified down to usage of [`Array.prototype.map()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) This is an alternative to https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1714 and only one of these rules should be...

evaluating
new rule

### Description Often [`no-for-loop`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-for-loop.md) results in something that be simplified down to [`Array.from`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from) Note for even simpler cases are handled by https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1713 This is an alternative to https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1712 and only...

evaluating
new rule

### Description Often [`no-for-loop`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-for-loop.md) results in something that is a simple spread, which [`prefer-spread`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-spread.md) should handle This works for both arrays and iterators. ### Fail ```js const result = []...

enhancement
help wanted

### Description I didn't know [`Object.defineProperties`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperties) existed. Would have been nice for a rule to teach me as [I wrote consecutive `Object.defineProperty`](https://github.com/concept-not-found/module-linking-polyfill/blob/b7bc16056f4faf42173cc4fd334d4ef177df0121/packages/transformer/parser/grammar.js#L76-L83). ### Fail ```js Object.defineProperty(matcher, 'logger', { value: ()...

help wanted
new rule