saiichihashimoto / standard-configs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@standard-configs

Sort Order

We sort objects with this order of precedence:

  • Overrides at the bottom
    • eg. elint has overrides, those go to the bottom of the file.
  • Maintainer Conventions.
    • eg. examples in documentation, internal implementation sort orders, etc.
    • If they are wildly inconsistent, we ignore this one. eg. eslint doesn't have any consistency with it's order.
  • Consistent Ecosystem Convention
    • This is similar to maintainer's convention, but is determined by the larger community.
    • This does not mean taking a poll. This means consistently similar conventions across many large and smaller projects out in the wild.
  • Documentation Order
  • @saiichihashimoto's personal opinion.
    • Let's avoid this one.
  • Alphabetical

About

License:MIT License


Languages

Language:TypeScript 98.1%Language:JavaScript 1.8%Language:Shell 0.1%Language:Ruby 0.0%