You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/06/18 21:43:14 UTC
[GitHub] [cordova-ios] raphinesse opened a new issue #633: JavaScript files
w/out file ending are not linted
raphinesse opened a new issue #633: JavaScript files w/out file ending are not linted
URL: https://github.com/apache/cordova-ios/issues/633
# Bug Report
## Problem
JavaScript files that do not have a file ending are not linted during `npm run eslint`
### What is expected to happen?
All JavaScript contained in the repository is linted during `npm run eslint`
### What does actually happen?
JavaScript files that do not have a file ending are not linted during `npm run eslint`
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
Possibly affected files:
```
bin/templates/scripts/cordova/run
bin/templates/scripts/cordova/version
bin/templates/scripts/cordova/clean
bin/templates/scripts/cordova/build
bin/templates/scripts/cordova/log
bin/templates/scripts/cordova/lib/list-emulator-build-targets
bin/templates/scripts/cordova/lib/list-started-emulators
bin/templates/scripts/cordova/lib/list-devices
bin/templates/scripts/cordova/lib/list-emulator-images
bin/templates/scripts/cordova/lib/start-emulator
bin/create
bin/apple_ios_version
bin/update
bin/apple_xcode_version
bin/apple_osx_version
bin/check_reqs
bin/autotest
bin/test
bin/cordova_plist_to_config_xml
```
Obtained using `find bin -type f ! -name "*.*"`.
Some of those files even use `#` for the license comments although they are JavaScript. :nauseated_face:
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
npx eslint bin/test
# Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org