Tag

stylelint

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 15, 2022 · Frontend Development

Setting Up Stylelint, LS‑Lint, Husky, Lint‑Staged, and Commitlint for a Robust Frontend Workflow

This tutorial walks through configuring Stylelint, LS‑Lint, Husky Git hooks, Lint‑Staged, and Commitlint to enforce code style, file‑naming conventions, pre‑commit checks, and conventional commit messages, providing a comprehensive engineering setup for modern frontend projects.

Frontendcommitlinteslint
0 likes · 24 min read
Setting Up Stylelint, LS‑Lint, Husky, Lint‑Staged, and Commitlint for a Robust Frontend Workflow
Baidu App Technology
Baidu App Technology
Jun 24, 2021 · Frontend Development

Developing ESLint and StyleLint Plugins for San‑Native Code Linting

The article explains how to design and implement ESLint and StyleLint plugins for the San‑Native framework, detailing AST generation, processor creation, rule definitions for JavaScript and CSS, configuration sharing, and how these tools provide real‑time linting feedback for developers.

ASTJavaScriptSan-Native
0 likes · 24 min read
Developing ESLint and StyleLint Plugins for San‑Native Code Linting
ByteFE
ByteFE
May 24, 2021 · Frontend Development

Automating Dark‑Mode Color Variable Replacement with Stylelint and PostCSS in Semi Design

This article explains how to automatically replace literal color values with Semi Design CSS variables for dark‑mode support by parsing style files with PostCSS, calculating color similarity with chroma‑js, and applying a custom Stylelint rule that can lint and autofix the code.

FrontendPostCSSSemi Design
0 likes · 10 min read
Automating Dark‑Mode Color Variable Replacement with Stylelint and PostCSS in Semi Design