Skip to content

Commit

Permalink
Handle typescript in our linter. (#48)
Browse files Browse the repository at this point in the history
## Summary:
We were only doing `.js` files before!

Issue: None

## Test plan:
I ran `ka-lint -v lib/utils.ts` in the Khan/our-lovely-cli repo,
and it said:
```
... LINTING
Beginning to lint 1 file(s)
--- Running Eslint:
```

Author: csilvers

Reviewers: MiguelCastillo

Required Reviewers:

Approved By: MiguelCastillo

Checks:

Pull Request URL: #48
  • Loading branch information
csilvers authored Oct 7, 2024
1 parent d3e4b96 commit bfdfbe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runlint.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ def find_files_to_lint(files_and_directories,
'.js': 'javascript',
'.html': 'html',
'.jsx': 'javascript',
'.ts': 'javascript',
'.tsx': 'javascript',
'.less': 'less',
'.yaml': 'yaml',
'.yml': 'yaml',
Expand Down

0 comments on commit bfdfbe5

Please sign in to comment.