Code Quality

How to Use ESLint (Step-by-Step Guide)

Common Plugins

· 1 min
Code QualityJavaScript

Improve Frontend Code Quality with Tools — WeChat Mini Program

How to configure linting and formatting to improve code quality in WeChat Mini Program projects, with practical setup …

· 2 min
Code Quality

ESLint Shared Configuration

This article introduces ESLint shared configuration, including its advantages, implementation details, and related …

· 2 min
Code QualityNode.js

Software Metrics - Cyclomatic Complexity

Why cyclomatic complexity matters, how to calculate it, recommended thresholds, and how ESLint/Checkstyle enforce it.

· 4 min
Code Quality

No Nested Ternary

This article introduces the no-nested-ternary rule, including its advantages, implementation details, and relevant …

· 1 min
Code QualityJavaScript

Reading the Alibaba Java Development Manual

Thoughts after reading Alibaba’s Java Development Manual (Taishan Edition) and how to internalize the conventions.

· 2 min
Code Quality

Google Engineering Practices — CR and MR

Takeaways from Google’s engineering practices on changelists (CLs), merge requests (MRs), and code reviews (CRs).

· 2 min
Code Quality

Migrating from TSLint to ESLint

TSLint is deprecated—here’s why you should migrate, what the roadmap says, and both automated and manual steps to switch …

· 2 min
Code Quality

Case Styles in Frontend Programming

Common case styles (Pascal, camel, kebab, snake, dot) and pragmatic conventions by context.

· 2 min
Code Quality

Introducing CheckStyle to Improve Java Code Quality

This article introduces using CheckStyle to improve Java code quality, including usage scenarios and implementation …

· 4 min
Code Quality

Don't Use Yoda Conditions in Frontend

This post explains why not to use Yoda conditions in frontend code, covering scenarios and lint rules to improve code …

· 2 min
Code Quality

Improve Frontend Code Quality with Tools — Version Automation

Automating versioning and changelogs to improve frontend code quality and release reliability, with concrete tooling and …

· 5 min
Code QualityTooling

Improve Frontend Code Quality with Tooling

How we use EditorConfig, TSLint/ESLint, TypeScript, Prettier, Husky, and lint-staged to keep frontend code consistent …

· 2 min
Code Quality