Appearance
JavaScript Linting Tools
General Linting Tools
- ESLint – The most widely used JavaScript linter, highly configurable, and supports custom rules, plugins, and integration with TypeScript.
- JSHint – A simpler alternative to ESLint, focusing on detecting errors but with less flexibility.
- JSLint – Created by Douglas Crockford, the author of JSON, but is opinionated and less flexible than ESLint.
Code Formatting & Style Checkers
- Prettier – An opinionated code formatter that enforces consistent style but doesn’t enforce code quality rules like ESLint.
- StandardJS – A zero-config linter that enforces a specific coding style, built on top of ESLint.
TypeScript-Specific Linters
- TSLint (Deprecated) – Used for TypeScript but has been replaced by ESLint with TypeScript plugins.
- ESLint with @typescript-eslint – The recommended approach for linting TypeScript.
Security & Best Practice Linters
- SonarLint – Helps detect code smells, security vulnerabilities, and bugs.
- Node Security Platform (nsp) (Deprecated) – Used for identifying security vulnerabilities in Node.js applications.
- Snyk – A security-focused tool that checks for known vulnerabilities in dependencies.
Accessibility Linters
- eslint-plugin-jsx-a11y – Ensures accessibility best practices in JSX/React components.
Framework-Specific Linters
- Vue ESLint Plugin (
eslint-plugin-vue) – Helps enforce best practices in Vue applications. - Angular ESLint (
@angular-eslint) – The recommended linter for Angular projects. - React ESLint Plugin (
eslint-plugin-react) – Provides linting rules for React projects.