Comments (2)
Hi @mcaubrey,
I think You have checked out the Csharper library documentation and it might not be up-to-date, try Husky.Net documentation.
you missed the first important step in installation which is cd <Your project/solution root directory>
.
also for attaching husky to your project the recommended way is use the attach
command, more info here.
Husky will install in your repository, not your project, so you must install it from your parent folder.
from husky.net.
I think you forgot to remove or update the dotnet format task.
{
"tasks": [
{
"name": "dotnet-format-example",
"command": "dotnet",
"args": [ "dotnet-format", "--include", "${staged}" ],
"include": [ "**/*.cs", "**/*.vb" ]
}, ....
from husky.net.
Related Issues (20)
- not working on repos that haven't run dotnet husky install HOT 2
- Support install not in .git root HOT 4
- Remove requirement for .net7, allow .net 8 only HOT 1
- Include parameter is ignored when no variable is used inside task HOT 1
- Commit is not present on precommit arguments ($1) HOT 1
- Git hook failed on CI/CD git checkout HOT 3
- Issue with hook for commits with paths that contain files with spaces
- dotnet husky attach cause unnecessary changes HOT 1
- Doesn't support the dotnet tools (e.g jb) HOT 3
- husky install fails when project is a submodule HOT 9
- bash exit 1 doesn't work HOT 4
- Unexpected parameter(s) error with ${staged} variable HOT 6
- Can not find task-runner.json when running dotnet husky run on Windows HOT 9
- fatal: cannot run .husky/pre-commit: No such file or directory on Mac-os HOT 7
- How to avoid empty commit? HOT 1
- error in dotnet husky install HOT 8
- Chunks tasks can't load csx files in parallel. HOT 2
- commit-lint.csx not working HOT 2
- Husky throws an ArgumentException when I try to commit through Sourcetree HOT 5
- Customize Staged variable separator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from husky.net.