From 22ff68a889d3bd53ae08be1d2db9f39edc7d6f21 Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 30 Jan 2018 15:35:40 +0000 Subject: [PATCH] standard: add page --- pages/common/standard.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/standard.md diff --git a/pages/common/standard.md b/pages/common/standard.md new file mode 100644 index 000000000..d1009d507 --- /dev/null +++ b/pages/common/standard.md @@ -0,0 +1,27 @@ +# standard + +> The JavaScript Standard Style tool for linting and fixing JavaScript code. + +- Lint all JavaScript source files in the current directory: + +`standard` + +- Lint specific JavaScript files: + +`standard {{path/to/file}}` + +- 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}}`