Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have the
ka-lint
on $PATH run webapp's ka-lint when appropriate!
Summary: This is the final step of hooking up webapp's testing/ka-lint binary to replace khan-linter for linting files within webapp. The driver script that tools and people run manually, `ka-lint`, is now a shell script that dispatches to either khan-linter's runlint.py or webapp's testing/ka-lint, depending on where it's called from. Issue: https://khanacademy.atlassian.net/browse/INFRA-4781 Test Plan: I ran touch /tmp/README ka-lint /tmp/README from both /tmp and from webapp-root. I got different output -- the second complained that you can only lint webapp files from within webapp -- showing that it was dispatching correctly. Reviewers: benkraft, davidbraley Reviewed By: benkraft, davidbraley Subscribers: kevinb Differential Revision: https://phabricator.khanacademy.org/D63551
- Loading branch information