Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency overlay: linter_dependencies #24

Open
jdx opened this issue Feb 21, 2025 · 0 comments
Open

dependency overlay: linter_dependencies #24

jdx opened this issue Feb 21, 2025 · 0 comments

Comments

@jdx
Copy link
Owner

jdx commented Feb 21, 2025

hooks {
    ["pre-commit"] = new {
        ["fix"] = new Fix {
            linter_dependencies {
              // prettier has to run after eslint
              // this will be done by batch, so a single batch of files
              // may be formatted by prettier after eslint even if eslint hasn't processed all the files yet
              ["prettier"] = new { "eslint" }
            }
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant