1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/standard.md
pixel 263508cd44
*: replace file(s) syntax and add path/to/ to more things (#9592)
* Fix file(s) and more path/to

* Update pages.it/common/rm.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>

* thanks emily your suggestion was dogshit

https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2022-12-06 16:47:56 +10:00

32 lines
661 B
Markdown

# standard
> The JavaScript Standard Style tool for linting and fixing JavaScript code.
> More information: <https://standardjs.com>.
- Lint all JavaScript source files in the current directory:
`standard`
- Lint specific JavaScript file(s):
`standard {{path/to/file1 path/to/file2 ...}}`
- Apply automatic fixes during linting:
`standard --fix`
- Declare any available global variables:
`standard --global {{variable}}`
- Use a custom ESLint plugin when linting:
`standard --plugin {{plugin}}`
- Use a custom JS parser when linting:
`standard --parser {{parser}}`
- Use a custom ESLint environment when linting:
`standard --env {{environment}}`