Set up linting and formatting for code and (S)CSS files in a Next.js project

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

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • stylelint-config-standard-scss

    The standard shareable SCSS config for Stylelint.

    stylelint-config-standard-scss is a Stylelint config that provides linting rules. It uses the Stylelint plugin stylelint-css and extends configs stylelint-config-standard which defines rules for vanilla CSS, and stylelint-config-recommended-scss which defines SCSS specific rules. As a result extending from this one config is enough to get linting support for both CSS and SCSS files.

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

    InfluxDB logo
  • stylelint-config-standard

    The standard shareable config for Stylelint

    stylelint-config-standard-scss is a Stylelint config that provides linting rules. It uses the Stylelint plugin stylelint-css and extends configs stylelint-config-standard which defines rules for vanilla CSS, and stylelint-config-recommended-scss which defines SCSS specific rules. As a result extending from this one config is enough to get linting support for both CSS and SCSS files.

  • prettier

    Prettier is an opinionated code formatter.

    Prettier is an opinionated code formatter that can format pretty much any file (.json, .js, .ts, .css, .scss etc.).

  • lint-staged

    🚫💩 — Run linters on git staged files

    lint-staged is a package that can be used to run formatting and linting commands on staged files in a Git repo.

  • husky

    Git hooks made easy 🐶 woof!

    Husky is the typical choice in Node.js packages for registering commands to run in Git hooks.

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

  • Supercharge your workflow with Husky, Lint Staged and Commitlint

    2 projects | dev.to | 7 May 2024
  • How Automation Saved Me from Oops Moments: Never Skip Tests in Production Again!

    2 projects | dev.to | 6 Feb 2024
  • Pre-commit with husky & lint-staged

    2 projects | dev.to | 24 Jan 2024
  • How to beautify your code and make contributions easy?

    3 projects | dev.to | 8 Nov 2022
  • Prepare our repo

    4 projects | dev.to | 29 May 2022

Did you konow that JavaScript is
the 3rd most popular programming language
based on number of metions?