mlsanityData to 7 Oct 2026

Still Manual? Automated Linter Configuration via DSL-Based LLM Compilation of Coding Standards

arXiv 2602.07783 ↗First posted 8 Feb 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Coding standards are essential for maintaining consistent and high-quality code across teams and projects. Linters help developers enforce these standards by detecting code violations. However, manual linter configuration is complex and expertise-intensive, and the diversity and evolution of programming languages, coding standards, and linters lead to repetitive and maintenance-intensive configuration work. To reduce manual effort, we propose LintCFG, a domain-specific language (DSL)-driven, LLM-based compilation approach to automate linter configuration generation for coding standards, independent of programming languages, coding standards, and linters. Inspired by compiler design, we first design a DSL to express coding rules in a tool-agnostic, structured, readable, and precise manner. Then, we build linter configurations into DSL configuration instructions. For a given natural language coding standard, the compilation process parses it into DSL coding standards, matches them with the DSL configuration instructions to set configuration names, option names and values, verifies consistency between the standards and configurations, and finally generates linter-specific configurations. Experiments with Checkstyle for Java coding standard show that our approach achieves over 90% precision and recall in DSL representation, with accuracy, precision, recall, and F1-scores close to 70% (with some exceeding 70%) in fine-grained linter configuration generation. Notably, our approach outperforms baselines by over 100% in precision. A user study further shows that our approach improves developers' efficiency in configuring linters for coding standards. Finally, we demonstrate the generality of the approach by generating ESLint configurations for JavaScript coding standards, showcasing its broad applicability across other programming languages, coding standards, and linters.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 71 references that are in the map. First posted on arXiv 8 Feb 2026.

Builds on

16 of 71 references.

References · 16

  1. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
  2. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  3. 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
  4. 2015Program Synthesis using Natural Languagecited by 41
  5. 2014Learning Natural Coding Conventionscited by 28
  6. 2023Integrating Action Knowledge and LLMs for Task Planning and Situation Handling in Open Worldscited by 26
  7. 2024Automatically Generating UI Code from Screenshot: A Divide-and-Conquer-Based Approachcited by 24
  8. 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Buildingcited by 10
  9. 2020A large-scale comparative analysis of Coding Standard conformance in Open-Source Data Science projectscited by 9
  10. 2025Automating a Complete Software Test Process Using LLMs: An Automotive Case Studycited by 8
  11. 2019STYLE-ANALYZER: fixing code style inconsistencies with interpretable unsupervised algorithmscited by 6
  12. 2023Natural Language Commanding via Program Synthesiscited by 6
4 more
  1. 2024Automated Unit Test Refactoringcited by 4
  2. 2019Styler: learning formatting conventions to repair Checkstyle violationscited by 3
  3. 2024Refactoring to Pythonic Idioms: A Hybrid Knowledge-Driven Approach Leveraging Large Language Modelscited by 3
  4. 2023MLinter: Learning Coding Practices from Examples-Dream or Reality?cited by 1

Built on by

Not cited yet.