Tagged articles
11 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
May 17, 2023 · Mobile Development

Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization

This article explains the workings of SwiftLint, a static code analysis tool for Swift, covering its architecture, built‑in rules, configuration options, custom rule creation, UIWebView deprecation detection, and advanced build‑time optimizations to improve linting efficiency in mobile development projects.

Build OptimizationCustom RulesMobile Development
0 likes · 20 min read
Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization
ByteFE
ByteFE
Feb 13, 2023 · Frontend Development

Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development

This article explains the fundamentals of ESLint, including its purpose, configuration files, AST-based analysis, the SourceCode abstraction, rule template creation, key functions, and the overall linting and fixing workflow, enabling developers to build custom linting plugins for consistent code style.

ASTCustom RulesESLint
0 likes · 14 min read
Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development
ELab Team
ELab Team
Dec 14, 2022 · Frontend Development

Mastering ESLint: How AST Powers Code Linting and Custom Rules

This article explores the fundamentals of ESLint, explaining how it leverages abstract syntax trees (AST) to enforce code style, detect errors, and enable custom rule creation, while providing practical configuration examples, code snippets, and insights into the underlying processing pipeline.

ASTCustom RulesESLint
0 likes · 16 min read
Mastering ESLint: How AST Powers Code Linting and Custom Rules
ELab Team
ELab Team
Jun 18, 2022 · Frontend Development

Deep Dive into ESLint: How Rules, CLI, and AST Processing Work

This article explains why ESLint is essential for frontend development, details how its rule configuration works, walks through the CLI execution flow, and reveals the internal call stack that parses code into an AST, applies custom rules, and performs auto‑fixes.

ASTCLICustom Rules
0 likes · 15 min read
Deep Dive into ESLint: How Rules, CLI, and AST Processing Work
360 Quality & Efficiency
360 Quality & Efficiency
Nov 5, 2021 · Frontend Development

Custom Form Validation with Element UI in Vue

This article explains what form validation is, why custom validation rules are needed in Vue projects using Element UI, and provides step‑by‑step code examples for binding rules and models, defining custom validators, and handling rich‑text content validation.

Custom RulesElement UIVue
0 likes · 4 min read
Custom Form Validation with Element UI in Vue
Meituan Technology Team
Meituan Technology Team
Apr 12, 2018 · Mobile Development

Implementing and Managing Custom Android Lint Rules for Code Quality

The article explains how to create, configure, and integrate custom Android Lint rules—using Issue, Detector, Scope, and IssueRegistry APIs—to catch crashes, bugs, performance and security problems such as missing Toast.show() or unsafe Log usage, supports incremental git‑based scans, and demonstrates deployment in IDE, builds, pre‑commit hooks and CI for improved code quality.

AndroidCICustom Rules
0 likes · 23 min read
Implementing and Managing Custom Android Lint Rules for Code Quality