Open alexey-koran opened 13 hours ago
Rules are shown as empty blocks when the layout grid is enabled if there are any unsupported rules (e.g. added by a plugin)
If you add eslint-plugin-prettier which includes eslint-config-prettier rules related to vue, flowtype & etc.
vue
flowtype
Func getRuleFromName returns undefined as the payload has no such rules
getRuleFromName
https://github.com/eslint/config-inspector/blob/27654d5f0f24b491b346fb921de25da9e2c3e956/app/components/RuleList.vue#L15-L19
https://github.com/eslint/config-inspector/blob/27654d5f0f24b491b346fb921de25da9e2c3e956/app/composables/payload.ts#L89-L92
Maybe it's worth checking if the rule exists in the payload?
Rules are shown as empty blocks when the layout grid is enabled if there are any unsupported rules (e.g. added by a plugin)
If you add eslint-plugin-prettier which includes eslint-config-prettier rules related to
vue
,flowtype
& etc.Func
getRuleFromName
returns undefined as the payload has no such ruleshttps://github.com/eslint/config-inspector/blob/27654d5f0f24b491b346fb921de25da9e2c3e956/app/components/RuleList.vue#L15-L19
https://github.com/eslint/config-inspector/blob/27654d5f0f24b491b346fb921de25da9e2c3e956/app/composables/payload.ts#L89-L92
Maybe it's worth checking if the rule exists in the payload?