CLI also supports multi file paths or glob - so you can give it a bunch of package.json file(s) to sort.
Accessing Data • index: Use [0] to get the first item. • at (): A modern way to get items. You can use negative numbers like -1 to get items from the end. This is safer than standard bracket notation ...
The most common ones: - Using sort () without a compare function (numbers sort as strings) - Confusing slice () with splice () (one copies, the other mutates) - Forgetting which methods change the ...
Most rules target JavaScript and TypeScript, but some also lint CSS, HTML, JSON, and Markdown when used with the matching ESLint language plugin.