It might be useful if custom lint rules could be defined on a per-component basis. It could be used for situations where it is bad practice to use a component a certain way, but that doing so won't throw an error.
For instance, if you're supposed to call obj.close() after obj.open(), the linter could check for that.
This gets into some pretty insane meta-programming and I have no idea how this would be implemented, but I thought I'd bring it up anyways. Definitely falls into the "nice to have", low-priorty category.
I think we should just create a label for ideas like this and leave them out to pasture until we've got the basics done. Good idea to log it while it's on your mind though.
It might be useful if custom lint rules could be defined on a per-component basis. It could be used for situations where it is bad practice to use a component a certain way, but that doing so won't throw an error.
For instance, if you're supposed to call
obj.close()
afterobj.open()
, the linter could check for that.This gets into some pretty insane meta-programming and I have no idea how this would be implemented, but I thought I'd bring it up anyways. Definitely falls into the "nice to have", low-priorty category.