Tagged articles
Prettier
25 articles · Page 1 of 1
A step-by-step guide to implementing consistent code formatting and quality checks in Vue2 projects using Prettier for style and ESLint for logic, with exact dependency versions, configuration files, VS Code integration, and husky pre-commit hooks.
ESLintPrettierVS Code
0 likes · 12 min read

This article details how to enforce commit message standards with commitlint and husky Git hooks, including step-by-step configuration, hook execution flow, the husky 'h' engine internals, and a practical cheatsheet for commit types and bypass commands.
Prettiercommit-message-conventionscommitlint
0 likes · 12 min read

This article explains how to use husky and lint-staged to automatically run ESLint and Prettier on staged files before each Git commit, preventing non-compliant code from entering the repository, with step-by-step setup for husky v9, configuration details, common pitfalls, and the complete commit workflow.
ESLintPrettiercode quality
0 likes · 8 min read

This guide clarifies the distinct roles of ESLint (code quality) and Prettier (code formatting), walks through minimal installation, configuration of .eslintrc and .prettierrc, resolves rule conflicts with eslint-config-prettier, adds npm scripts for linting and formatting, and lists common pitfalls with solutions.
ConfigurationESLintPrettier
0 likes · 8 min read

The article explains why Claude.md only obeys about 80% of instructions, introduces Claude Code Hooks as a deterministic alternative, and provides eight ready‑to‑copy hook configurations—including auto‑formatting, dangerous‑command blocking, file protection, test enforcement, linting, command logging, and automatic commits—to reliably enforce code‑quality policies.
ClaudeESLintGit
0 likes · 12 min read

Evan You announced that the new OXC toolchain dramatically outperforms Prettier and ESLint—delivering 2‑3× faster formatting, up to 45× faster than Prettier, and 50‑100× faster linting—while staying compatible with existing configurations and offering zero‑migration upgrades for massive codebases.
ESLintOxcPrettier
0 likes · 5 min read

The article traces the evolution of front‑end linting and formatting tools—from JSLint to ESLint, Prettier, and Rust‑based Biome—then introduces Ultracite, a zero‑config, Rust‑fast, AI‑friendly assistant that consolidates linting, formatting, Git hooks and AI integration into a single command.
AI code assistanceBiomeESLint
0 likes · 7 min read

This article examines Tailwind CSS’s rapid rise, highlighting its GitHub stars, NPM downloads, and adoption by major companies, explains atomic CSS concepts with code examples, discusses class sorting, prefixing, and @apply usage, compares it to PrimeFlex and UnoCSS, and concludes it’s a leading frontend framework.
CSS FrameworkClass SortingPrettier
0 likes · 8 min read

This step‑by‑step guide shows how to initialize a Git repository, configure TypeScript, Prettier, Vitest, CI with GitHub Actions, set up package metadata, use Changesets for versioning, and finally build and publish a production‑ready npm package.
CIGitHub ActionsPrettier
0 likes · 19 min read

This step‑by‑step guide shows how to create, configure, test, and publish a TypeScript npm package using Git, Prettier, tsup, Vitest, GitHub Actions CI, and Changesets for versioning and release automation.
CIGitHub ActionsPackage
0 likes · 25 min read

The article traces ESLint’s evolution from a JSLint‑style checker to the dominant JavaScript linter, explains its long‑standing clash with the opinionated formatter Prettier over code‑style rules, and details the team’s decision in v8.53.0 to deprecate built‑in formatting rules in favor of external style plugins and market‑driven style guides.
ESLintFrontend DevelopmentJavaScript
0 likes · 10 min read

This article explains the concepts of external and internal code beauty, introduces essential frontend tooling such as ESLint, Prettier, Stylelint, husky, lint‑staged, EditorConfig, and CSSComb, and shares practical habits on documentation, naming, and commenting to help developers produce elegant, maintainable code.
Clean CodeCode styleESLint
0 likes · 13 min read

The article debunks programmer stereotypes, explains code reproducibility, and recommends five VS Code extensions—ESLint, Prettier, GitLens, Tailwind CSS IntelliSense, and Live Server—to help developers write cleaner, faster, and more maintainable front‑end code.
ESLintGitLensLive Server
0 likes · 5 min read

This guide walks through automating frontend development tasks—using Husky for Git hooks, lint‑staged for staged file filtering, commitlint for standardized commit messages, ESLint and @typescript-eslint for code checking, and Prettier for formatting—providing installation commands, configuration snippets, and practical usage tips for React + TypeScript projects.
ESLintGitPrettier
0 likes · 10 min read

The guide shows how to build a lightweight, browser‑based WebIDE using Monaco Editor by adding multi‑file support, preserving view state, integrating ESLint via a WebWorker, enabling Prettier formatting, and extending TypeScript definitions for rich code completion and navigation.
ESLintJavaScriptMonaco editor
0 likes · 24 min read

This guide walks you through creating a demo-cli project, configuring package.json, setting up bin scripts, understanding Linux and Node bin execution, choosing global versus local installation, adding TypeScript, ESLint, Prettier, lint‑staged, and finally publishing the package to npm.
CLIESLintNode.js
0 likes · 16 min read

This article explains what ESLint is, walks through its installation and basic configuration, dives into detailed rule, parser, and plugin settings, describes its AST‑based analysis process, and shows how to integrate it with tools like VSCode, Prettier, Husky and lint‑staged for robust JavaScript code quality enforcement.
ESLintJavaScriptPrettier
0 likes · 19 min read


政采云技术Oct 26, 2021 · Frontend Development
This article explains how to set up EditorConfig, ESLint, Stylelint, and Prettier in VSCode so that code style rules are automatically applied and fixed on save, covering installation, configuration files, and project‑specific settings for Vue and React.
ESLintPrettierVSCode
0 likes · 17 min read


WeChatFEAug 20, 2021 · Frontend Development
This article explains the roles, differences, and practical usage of Prettier and ESLint in JavaScript projects, demonstrates how to configure and run them, and connects linting to clean‑code principles and effective team workflows.
Clean CodeESLintJavaScript
0 likes · 14 min read

This article explains the drawbacks of weakly‑typed JavaScript, outlines the advantages of adopting TypeScript, and provides practical guidance on configuring ESLint, Prettier, tsconfig, and React component typings—including hooks, event handling, and generic utilities—to improve code quality and developer productivity.
ESLintGenericsPrettier
0 likes · 14 min read

This article compares Webpack and Rollup, explains why Rollup’s tree‑shaking and ES6 module support make it better for a lightweight JavaScript utility library, and provides a step‑by‑step guide to set up the project with TypeScript, ESLint, Prettier, Husky, Commitlint and Jest testing.
ESLintJavaScriptJest
0 likes · 14 min read

This article explores practical code‑formatting guidelines for Angular projects, arguing that a 100‑character line width balances readability and compactness, and offering concrete recommendations for template layout, attribute ordering, and function formatting using VS Code and Prettier.
AngularBest PracticesHTML
0 likes · 7 min read

This article explains the purpose and installation of EditorConfig, Prettier, and ESLint, demonstrates how to combine them with TypeScript, Airbnb style guide, and React Hooks, and provides a complete pre‑commit workflow using Husky and lint‑staged for consistent code quality.
AirbnbESLintPrettier
0 likes · 9 min read

This article presents a comprehensive guide to writing clean, maintainable JavaScript by avoiding legacy pitfalls, applying Clean Code principles, leveraging ES6/ES7 features, and using tools like Babel, ESLint, and Prettier to improve code quality and development efficiency.
BabelClean CodeES6
0 likes · 10 min read

This article presents eight practical recommendations for Node.js developers, covering dependency locking, lifecycle scripts, modern JavaScript, promises with async/await, code formatting with Prettier, continuous integration testing, security headers via Helmet, and serving over HTTPS.
Best PracticesHTTPSNode.js
0 likes · 4 min read
