phillip055 пре 7 година
родитељ
комит
c46e032e08
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6 6
      pages/common/eslint.md

+ 6 - 6
pages/common/eslint.md

@@ -1,19 +1,19 @@
 # eslint
 
-> Find problematic patterns or code that doesn’t adhere to certain style guidelines.
+> A pluggable linting utility for JavaScript and JSX.
 
 - Create eslint config:
 
 `eslint --init`
 
-- Fix lint:
+- Lint on files:
 
-`eslint --fix`
+`eslint {{filename}}.js {{filename1}}.js`
 
-- Lint on files:
+- Fix lint issues:
 
-`eslint {{filename}}.js`
+`eslint --fix`
 
 - Lint with config:
 
-`eslint -c {{path/to/config_file}} {{filename}}.js`
+`eslint -c {{path/to/config_file}} {{app/src}}`