Loading...

Skill: Coding conventions, code formatting and linting

Understanding and applying coding standards, using code formatting tools and linters to ensure code quality consistency and readability.

Learning resources

Name Description Language Provider
Building Better Research Software Training materials on improving research software through practical software engineering practices and maintainable development approaches. English Software Carpentry
Code Styling and Linting - The Turing Way Handbook guidance on code formatting, style conventions and linting tools to improve readability and consistency. English The Turing Way

Computational tools

Name Description
styler An R package that formats your code according to the tidyverse style guide.
Ruff An extremely fast Python linter and code formatter.
lintr The canonical way to configure R projects and packages for linting.
Linters Tools that check source code against a set of style guidelines.
JSLint A static code analysis tool used in software development for checking JavaScript source code.
ESLint A static code analysis tool for identifying problematic patterns found in JavaScript code.
Black The uncompromising Python code formatter.

Methodologies

Name Description
Static program analysis Examining code without executing it to find errors or style issues.