diff --git a/pages.pl/common/eslint.md b/pages.pl/common/eslint.md new file mode 100644 index 0000000000..e11577957e --- /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}}`