Nikita

Results 85 comments of Nikita

Something like this could work: Before: ```css @scope (.light-theme) { :scope { background-color: #ccc; } p { color: black; } } @scope (.dark-theme) { :scope { background-color: #333; } p...

This fails: ```jsx export function App() { const ref = React.useRef(null) const elem = return React.cloneElement(elem, { ref }) } ``` even though its equivalent to this: ```jsx export function...

Is this option doc good? ````md ### `ignoreReturnInVoidFunction` Explicit void return type in a function signature might be enough to indicate that the function will not return anything, even though...

Looks like the option implemented in #10067 ignores too much. Examples: ```ts declare function onError(callback: () => T): void; onError(() => console.log('oops')); const p = Promise.resolve(1).then(() => console.log()) ``` [playground](https://deploy-preview-10067--typescript-eslint.netlify.app/play/#ts=5.5.2&fileType=.ts&code=GYVwdgxgLglg9mABAgogJzXNAeAKgPgAoIBDAGzICMSIBrALkUIEpEBefRXZxgNzhgATRAG8AUIkSkK1OiwDcYgL5ixqDFkIt2nCAgDOcMgFMAdGTgBzQgHI4cAA76bzZorF6w%2BqIgftEAAqYALYw%2BmZoxoZkvMaEAIzMplAAFsZgWqwcUgZGZhbWrmJAA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1rI6YDNYyZgHNaANw6UAJvQAexaCiG90YANrhsORNGgdokADSatWLdkiVhnRQDVJUgEqJ8saExEAxWEzL5KvKgY%2BHCIJtgAvuEAuppREUA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false)...

why is this API so different from `keyframes` or `fontFace`?