From b0f7b04e8b6df8ffce944445e563d3b01de8a0e3 Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 15 Apr 2020 18:07:54 +0200 Subject: [PATCH] create eslint.md initial --- pages.pl/common/eslint.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages.pl/common/eslint.md diff --git a/pages.pl/common/eslint.md b/pages.pl/common/eslint.md new file mode 100644 index 000000000..e11577957 --- /dev/null +++ b/pages.pl/common/eslint.md @@ -0,0 +1,20 @@ +# eslint + +> A pluggable linting utility for JavaScript and JSX. +> More information: . + +- Create eslint config: + +`eslint --init` + +- Lint on a given set of files: + +`eslint {{filename}}.js {{filename1}}.js` + +- Fix lint issues: + +`eslint --fix` + +- Lint with config: + +`eslint -c {{path/to/config_file}} {{app/src}}`