diff --git a/pages/common/eslint.md b/pages/common/eslint.md new file mode 100644 index 000000000..1f31592d3 --- /dev/null +++ b/pages/common/eslint.md @@ -0,0 +1,19 @@ +# eslint + +> A pluggable linting utility for JavaScript and JSX. + +- Create eslint config: + +`eslint --init` + +- Lint on files: + +`eslint {{filename}}.js {{filename1}}.js` + +- Fix lint issues: + +`eslint --fix` + +- Lint with config: + +`eslint -c {{path/to/config_file}} {{app/src}}`