Not component structure. JavaScript. Specifically: map, filter, reduce, find, forEach. The five array methods that show up in almost every React component. Rendering a list? map. Showing only active ...
Test adapters use simple arrays in memory. Your tests no longer need a database. They do not need to boot the framework. They use plain PHP. The speed difference is huge. - Old test: 1.8 seconds. - ...
You might want to check out XO, which includes this plugin. Most rules target JavaScript and TypeScript, but some also lint CSS, HTML, JSON, and Markdown when used ...