mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
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:
parent
19e141fc0e
commit
cd8d951fd6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue