• kurwa@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    If all configs could use the same format and be in the same place, that would be nice. Although I think eventually you’d want to split out that config file into multiple places, because having a config thousands of lines long would suck.

    • meliaesc@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      If the picture in the OP is the only alternative, I wouldn’t mind, you can easily collapse json/yaml and only focus on the section you need. Maybe split into files based on functionality.

      • kurwa@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Aren’t these configs in the OP already split by functionality though? If each of these of config files were only going to be a few lines long, having it all in one file would be great.

        • meliaesc@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          1 year ago

          Well, for example, there’s no reason eslintrc and eslintignore need to be separate files in any scenario, i would group them and prettier into “formatting”. But, yes I agree, one big file is preferred in most scenarios.