Mark Allen
Mark Allen
`end` should be aligned with `map` because that's what's initiating the block. It's more logical that way and it also looks better in my opinion.
I usually define it as a const, and then "alias" it as a class method like so: ``` class User < ActiveRecord::Base ROLES = %w(admin moderator contributor) def self.roles self::ROLES...
As someone pretty new to TypeScript I didn't know about this, but you can convert an string enum to a string union like so: ```typescript type WeekdayType = `${Weekday}`; ```...
This is awesome! I am in need of something like this, and would love to see this merged and released if possible.
@gajus Help wanted? I've contributed to eslint-plugin-react and wouldn't mind taking a stab
@gajus Cool! Because I'm not extremely confident working with eslint rules yet, to start do you mind if I post ideas and questions here before starting any development? To make...
Would love to see this
I'm surprised this doesn't have more traction... Everyone enjoys longer load times because they're loading extra code they don't need all the time I suppose? Any words from maintainers what...
Waiting for promise resolve worked for me. See below. @kraffslol It would be very nice if the docs mentioned this at all. I likely would have spent hours diagnosing this...
After testing it works exactly as intended. Please consider merging and let me know if you need me to make changes