Tag

Custom Rules

0 views collected around this technical thread.

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.

Custom RulesSwiftSwiftLint
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 RulesFrontend Development
0 likes · 14 min read
Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development
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
360 Quality & Efficiency
360 Quality & Efficiency
Jul 3, 2020 · Backend Development

Understanding PHP_CodeSniffer: Tokenization, Lexical Analysis, and Custom Rule Creation

This article explains how PHP_CodeSniffer parses PHP source code into tokens using lexical analysis, demonstrates token extraction with token_get_all, and guides readers through creating a custom rule to prohibit hash‑style comments, covering rule library setup, Sniff implementation, and execution.

Custom RulesPHPPHP_CodeSniffer
0 likes · 12 min read
Understanding PHP_CodeSniffer: Tokenization, Lexical Analysis, and Custom Rule Creation
Sohu Tech Products
Sohu Tech Products
Dec 11, 2019 · Backend Development

Extending Alibaba Java Coding Guidelines (p3c) with Custom Rules: A Step‑by‑Step Guide

This article explains why coding standards are essential, introduces PMD and Alibaba's p3c plugin, and provides a detailed, code‑rich tutorial on designing, implementing, testing, and packaging custom Java static‑analysis rules to enforce @RequestMapping conventions.

Custom RulesGradleJava
0 likes · 11 min read
Extending Alibaba Java Coding Guidelines (p3c) with Custom Rules: A Step‑by‑Step Guide
Baidu Intelligent Testing
Baidu Intelligent Testing
May 24, 2018 · Fundamentals

Static Analysis with Cppcheck: Custom Rule Development and Practical Experience

This article explains static analysis concepts, why cppcheck was chosen for Baidu's testing workflow, details its architecture, and walks through the creation of custom rules—including a printf misuse detector and a dynamic switch misuse rule—while sharing practical challenges and results.

C++Custom Rulesbug detection
0 likes · 11 min read
Static Analysis with Cppcheck: Custom Rule Development and Practical Experience