LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

standard

Zero-configuration JavaScript style linter

TLDR

Check code
$ standard
copy
Fix automatically
$ standard --fix
copy
Check specific files
$ standard [file1.js] [file2.js]
copy
Use parser
$ standard --parser [babel-eslint]
copy
Verbose output
$ standard --verbose
copy
Declare globals
$ standard --global [globalName]
copy

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 NAME
Declare a global variable (can be repeated).
--plugin NAME
Include an ESLint plugin.
--fix-dry-run
Report what would be fixed without writing changes.
--env ENV
Environment globals.
--stdin
Lint from stdin.

INSTALL

brew install standard
copy

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.

SEE ALSO

eslint(1), prettier(1), jshint(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid