scripts/verify.sh uses tslint executable from PATH and if launched not from npm/yarn script (as shown in Quick steps) will use global TSLint installation.
Possible solutions:
Use tslint executable from node_modules in verify.sh file
./node_modules/.bin/tslint -r ./build/rules/ --test $path/..
Add local installation to path in Quick steps
PATH=./node_modules/.bin:$PATH ./scripts/verify.sh
scripts/verify.sh
usestslint
executable fromPATH
and if launched not fromnpm
/yarn
script (as shown in Quick steps) will use global TSLint installation.Possible solutions:
Use
tslint
executable fromnode_modules
inverify.sh
file./node_modules/.bin/tslint -r ./build/rules/ --test $path/..
Add local installation to path in Quick steps
PATH=./node_modules/.bin:$PATH ./scripts/verify.sh