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
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
Building Better Research Software Training materials on improving research software through practical software engineering practices and maintainable development approaches. English Software Carpentry

Computational tools

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

Methodologies

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