Skip to content

Instantly share code, notes, and snippets.

@carbonrobot
Created January 10, 2024 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carbonrobot/2190e7bd4f5c2e8e44f740b0bfa2ed69 to your computer and use it in GitHub Desktop.
Save carbonrobot/2190e7bd4f5c2e8e44f740b0bfa2ed69 to your computer and use it in GitHub Desktop.
Victory v36.x Wireit Build Flow for ESLint
$ pnpm lint

/package.json | scripts: { "lint": "wireit" }
  /package.json | wireit: "lint" => ["lint:root", "lint:pkgs"]
    /package.json | scripts: { "lint:root": "wireit" }
      /package.json | wireit: "lint:root" => "nps lint:base (files)"
        /package-scripts.js | scripts: "lint:base" => "eslint (options)"
    /package.json | scripts: { "lint:pkgs": "wireit" }
      /package.json | wireit: "lint:pkgs" => ["packages/*] => "lint"
        /packages/*/package.json | scripts: { "lint": "wireit" }
        /packages/*/package.json | wireit: { "lint": "nps lint:pkg" }
            /package-scripts.js | scripts: "nps lint:pkg"
              /package-scripts.js | scripts: "nps lint:base"
                /package-scripts.js | scripts: "lint:base" => "eslint (options)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment