Browse Source

Apply eslint to all JS files in src/

JC Brand 3 years ago
parent
commit
0cfe2a18af
1 changed files with 1 additions and 4 deletions
  1. 1 4
      Makefile

+ 1 - 4
Makefile

@@ -207,10 +207,7 @@ cdn:: node_modules
 
 
 .PHONY: eslint
 .PHONY: eslint
 eslint: node_modules
 eslint: node_modules
-	$(ESLINT) src/*.js
-	$(ESLINT) src/utils/*.js
-	$(ESLINT) src/headless/*.js
-	$(ESLINT) src/headless/utils/*.js
+	$(ESLINT) src/**/*.js
 
 
 .PHONY: check
 .PHONY: check
 check: eslint | dist/converse.js dist/converse.css
 check: eslint | dist/converse.js dist/converse.css