I want to have a rule that warns me when a php file contains style= within any tag. Even alerting on the string ‘style=’ is probably enough.
How do I do that?
I think I want to make custom linter rules.
I have looked for about 1/2 hour and not found a toehold to get started.
I think there must be some wrong with my analysis. So far I have not yet found any file full of rules of any kind.
BTW I use nuclide. I did have to add some config code to convince it that php is not hack, especially for linting purposes. I also know that there may be issues regarding linting so this needs to be taken into account in my solution.