Code Quality

ESLint Usage Guide

Common Plugins "eslint-config-tencent" "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended"

Feb 19, 2025

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

Nov 21, 2021

ESLint Shared Configuration

This article introduces ESLint shared configuration, including its advantages, implementation details, and related resources that can help improve efficiency when working with ESLint shared configurations.

Jun 27, 2020

Software Metrics - Cyclomatic Complexity

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

Jun 27, 2020

No Nested Ternary

This article introduces the no-nested-ternary rule, including its advantages, implementation details, and relevant resources. These steps can help improve efficiency when avoiding nested ternary expressions.

May 23, 2020

Reading the Alibaba Java Development Manual

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

May 18, 2020

Google Engineering Practices — CR and MR

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

May 15, 2020

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 to ESLint.

May 2, 2020

Case Styles in Frontend Programming

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

Apr 11, 2020

Introducing CheckStyle to Improve Java Code Quality

This article introduces using CheckStyle to improve Java code quality, including usage scenarios and implementation details, to improve efficiency in CheckStyle Java code quality improvement.

Mar 15, 2020

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

Jan 14, 2020

Improve Frontend Code Quality with Tools — Version Automation

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

Dec 8, 2019

Improve Frontend Code Quality with Tooling

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

Jan 1, 2019