EditorConfig
husky
EditorConfig | husky | |
---|---|---|
4 | 127 | |
612 | 31,666 | |
- | - | |
0.0 | 8.6 | |
3 months ago | 7 days ago | |
JavaScript | ||
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
EditorConfig
-
Code Styling should be enforced by default
Someone already went through the trouble of producing a editorconfig dotfile that conforms to the StyleCop rules, and yet it isn't even suggested to be applied by any important C# tool. Which is a glaring oversight as bad as when default gitignore files were not suggested by default, leading to countless repos cluttered with bin and obj folders.
-
Does anyone has a clean code .EditorConfig for C#?
Like this: editorconfig ?
-
Migrating from JS/TS ecosystem to Blazor
Also https://github.com/RehanSaeed/EditorConfig as a starting point for enforcing C# rules and fixes like eslint.
-
PascalCase or camelCase?
Yes. This one is kept up to date as they add new rules to Visual Studio, it's my go-to to use as a base. It goes off of the Microsoft/.net guidelines and sprinkles stylecop style rules on top of it: https://github.com/RehanSaeed/EditorConfig
husky
- Supercharge your workflow with Husky, Lint Staged and Commitlint
-
Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes
In this post, I will primarily discuss client-side hooks. I'll delve into three specific hooks: pre-commit, commit-msg, and pre-push. The central tool discussed will be Husky, which simplifies the configuration of Git Hooks, making it more straightforward.
-
I switch from Eslint to Biome
Reading Biome doc I also switched from husky to lefthook.
-
Streamline Your Workflow: Setting Up Git Hooks with Husky to Simplify Version Updates
Dive deeper into the world of Husky with the official documentation. Explore the capabilities of Standard Version through its comprehensive documentation. Unravel the mysteries of semantic-release with its detailed documentation. Discover the versatility of bumpp with its comprehensive documentation.
-
Git Project Configuration With Husky and ESLint
Letâs walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions.
- Padronizando seu código através dos Git Hooks
- Angular 14 + Prettier + Husky Setup
-
How Automation Saved Me from Oops Moments: Never Skip Tests in Production Again!
We were already using lint-staged and have a pre-commit hook in place using Husky in our project for linter and prettier. So it made sense to add a check here.
- Pre-commit with husky & lint-staged
-
How to Improve Development Experience of your React Project
Now, let's talk about Husky. It's a wonderful tool that enables you to run scripts on any Git hooks. We'll add a pre-commit hook to run ESLint and Stylelint checks before committing. This ensures that we don't commit code with errors.
What are some alternatives?
csharpier - CSharpier is an opinionated code formatter for c#.
simple-git-hooks - A simple git hooks manager for small projects
Alturos.Yolo - C# Yolo Darknet Wrapper (real-time object detection)
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
Husky.Net - Git hooks made easy with Husky.Net internal task runner! đ¶ It brings the dev-dependency concept to the .NET world!
standard-version - :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
format - Home for the dotnet-format command
prettier - Prettier is an opinionated code formatter.
Fine Code Coverage - Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
pretty-quick - ⥠Get Pretty Quick