CLI also supports multi file paths or glob - so you can give it a bunch of package.json file(s) to sort.
Most rules target JavaScript and TypeScript, but some also lint CSS, HTML, JSON, and Markdown when used with the matching ESLint language plugin.