standard
Zero-configuration JavaScript style linter
TLDR
Check code
SYNOPSIS
standard [--fix] [--parser name] [options] [files]
DESCRIPTION
standard is a zero-configuration JavaScript linter and formatter that enforces a fixed set of style rules. Built on top of ESLint, it eliminates the need for project-specific .eslintrc files by providing a single, opinionated style guide that includes rules like no semicolons, 2-space indentation, and single quotes.
The --fix flag automatically corrects fixable issues in place. The tool can lint files passed as arguments or recursively scan the current directory. Custom parsers like babel-eslint can be specified for projects using experimental JavaScript syntax.
PARAMETERS
--fix
Auto-fix issues.--parser NAME
Custom parser.--verbose
Show rule names.--global PKG
Global packages.--env ENV
Environment globals.--stdin
Lint from stdin.
CAVEATS
Fixed style rules. No customization. Semicolon-free style.
HISTORY
standard was created by Feross Aboukhadijeh as a zero-configuration JavaScript linter enforcing a single style.
