Git Project Configuration With Husky and ESLint

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • husky

    Git hooks made easy 🐶 woof!

  • 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.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • prettier

    Prettier is an opinionated code formatter.

  • 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.

  • lint-staged

    Discontinued 🚫💩 — Run linters on git staged files [Moved to: https://github.com/lint-staged/lint-staged] (by okonet)

  • 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.

  • my-project$ git push origin example-branch # npx lint-staged # ... (no errors found) # npm test # ... (PASS) Enumerating objects: 7, done. Counting objects: 100% (7/7), done. Delta compression using up to 8 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 375 bytes | 375.00 KiB/s, done. Total 4 (delta 3), reused 0 (delta 0), pack-reused 0 remote: Resolving deltas: 100% (3/3), completed with 3 local objects. To https://github.com/spencerlepine/my-project.git 4bc4030..b558038 example-branch -> example-branch

  • husky-boilerplate

    Husky + ESLint + lint-staged boilerplate. Use pre-commit hooks and code styles for a Git project

  • See a working example here: GitHub repository.

  • ESLint

    Find and fix problems in your JavaScript code.

  • 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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Prettier and lint your project with husky and git hooks

    4 projects | dev.to | 25 Aug 2023
  • How to automate format your code on commit

    2 projects | dev.to | 16 Oct 2022
  • Using Static Analysis Tooling with Open Source!

    4 projects | dev.to | 5 Nov 2021
  • Gear up your React codebase with Prettier and ESLint Automation

    3 projects | dev.to | 6 Sep 2021
  • Make Commit in Your React Project Format-Test-Build Ready with Husky - A Step-by-Step Guide

    4 projects | dev.to | 24 May 2024