summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-30 16:43:50 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-30 16:43:50 -0400
commite7f29ea214faa5f8dba69ea6ad2304932f7d3dee (patch)
treedefc2b9cda83c6f6ae7bc9ed514b47f08a99fb8b /Makefile
parent84faccb7b74dba773cd72e2d0cebdd5bf6a34566 (diff)
downloadchat-e7f29ea214faa5f8dba69ea6ad2304932f7d3dee.tar.gz
chat-e7f29ea214faa5f8dba69ea6ad2304932f7d3dee.tar.bz2
chat-e7f29ea214faa5f8dba69ea6ad2304932f7d3dee.zip
Fixing eslint not recursing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5e798ee76..573036f06 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ travis:
cd web/react/ && npm run build-libs
@echo Checking for style guide compliance
- cd web/react && $(ESLINT) --quiet components/* dispatcher/* pages/* stores/* utils/*
+ cd web/react && $(ESLINT) --ext ".jsx" --ignore-pattern node_modules --quiet .
@echo Running gofmt
$(eval GOFMT_OUTPUT := $(shell gofmt -d -s api/ model/ store/ utils/ manualtesting/ mattermost.go 2>&1))
@echo "$(GOFMT_OUTPUT)"
@@ -143,7 +143,7 @@ install:
check: install
@echo Running ESLint...
- -cd web/react && $(ESLINT) components/* dispatcher/* pages/* stores/* utils/*
+ -cd web/react && $(ESLINT) --ext ".jsx" --ignore-pattern node_modules .
@echo Running gofmt
$(eval GOFMT_OUTPUT := $(shell gofmt -d -s api/ model/ store/ utils/ manualtesting/ mattermost.go 2>&1))
@echo "$(GOFMT_OUTPUT)"