We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plato -d output -r ./*?/* -e .eslintrc.json -t "NodeBB测试报告" -x 'node_modules'
Execute the above command, Still included node_modules, and then happend failed:
The text was updated successfully, but these errors were encountered:
I can confirm this (win10 x64, node v6.7.0).
Sorry, something went wrong.
This : plato -r -d report src -e .eslintrc -x 'node_modules' works for me and excludes correctly node_modules folder.
plato -r -d report src -e .eslintrc -x 'node_modules'
(win10 x64, node v6.9.0, npm v3.10.8)
Exclude seems to expect a regex and fails to exclude correctly:
plato --recurse --dir ../plato-report --jshint .jshintrc --exclude /*.spec.js$/ ./src plato --recurse --dir ../plato-report --jshint .jshintrc --exclude /.spec.js/ ./src plato --recurse --dir ../plato-report --jshint .jshintrc --exclude /spec.js$/ ./src
plato --recurse --dir ../plato-report --jshint .jshintrc --exclude /*.spec.js$/ ./src
plato --recurse --dir ../plato-report --jshint .jshintrc --exclude /.spec.js/ ./src
plato --recurse --dir ../plato-report --jshint .jshintrc --exclude /spec.js$/ ./src
None of these exclude files ending with .spec.js despite being the correct syntax.
.spec.js
EDIT: plato --recurse --dir ../mall-app-plato-report --jshint .jshintrc --exclude '\.spec\.js' ./src DID work.
plato --recurse --dir ../mall-app-plato-report --jshint .jshintrc --exclude '\.spec\.js' ./src
This highlights that the syntax is VERY fussy.
No branches or pull requests
Execute the above command, Still included node_modules, and then happend failed:
The text was updated successfully, but these errors were encountered: