Linting tests will not work if scratch-gui is linked directly into local directory

We’re currently linking scratch-gui directly into the scratch-www directory (either through a bind mount in docker) or a symoblic link in unix. This causes the current make lint target to fail when it attempts to look in that directory for lint targets. Also, don’t bother linting node_modules
This commit is contained in:
Colby Gutierrez-Kraybill 2018-07-18 16:02:22 -04:00
parent 19e141fc0e
commit cd8d951fd6

View file

@ -55,7 +55,7 @@ test:
@make tap
lint:
$(ESLINT) . --ext .js,.jsx,.json
$(ESLINT) --ignore-pattern scratch-gui --ignore-pattern node_modules . --ext .js,.jsx,.json
$(SASSLINT) ./src/*.scss
$(SASSLINT) ./src/**/*.scss