• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • radiumv@lemmy.worldtoProgrammer Humor@lemmy.ml***
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    11 months ago
    • .eslintignore can be replaced by an ignorePatterns key in .eslintrc.cjs
    • Unless you’re ignoring entire directories or using Prettier in your editor, .prettierignore can be replaced with // prettier-ignore comments in files you want to ignore, or specifying globs in the command line (usually in the package.json script fields)
    • The entirety of .prettierrc can be replaced by a prettier key in package.json
    • Everything that ends in .ts, .js, and .cjs a script, not a config file, and they could all be moved to a separate folder and pointed at with command line flags
    • All of the options above are categorically worse than the standard layout
    • pnpm-lock.yaml and flake.lock aren’t config files and shouldn’t be edited unless you know what you’re doing
    • tailwind is bad and cringe