Dimava

Results 46 comments of Dimava

@laterdayi try https://eslint.style/rules/js/indent#flatternaryexpressions and https://eslint.style/rules/js/indent#offsetternaryexpressions One of them should do this

@laterdayi it should autofix the error on save Is there a rule conflict? I.e. does it reformat back to the code you don't want? Check what rule is that, you...

@glennmichael123 you gonna need prettier-plugin-blade installed

@glennmichael123 yep, prettier itself also uses plugins for languages that are not built-in (html/js/css/gql/md/yaml)

@glennmichael123 please update your example repo and link a couple of .blade files so I could try it

@glennmichael123 1. `eslint-plugin-format` won't pick your `.prettierrc` 2. `eslint-plugin-format` won't pick your `overrides` ```ts export default [{ files: ['**/*.blade.php'], plugins: { format }, languageOptions: { parser: format.parserPlain }, rules: {...

I would say the original point was being able to use typed `Record.keys` / `Record.entries` for objects you know are records (to avoid typing `Object.keys` / `Object.values`) and then it's...

I think this can be bypassed by making Record having `#private` which will make it not not crossasignable

🤔 I'm not sure if this actually makes sense though

At the very least, having a list of `entity.name` possible values may be very useful for autocompletion of `if (entity.name === '...')` and `surface.create_entity({name: '...'})` So you may just make...