• meliaesc@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 months 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
      ·
      9 months 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
        9 months 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.