Skip to content

Commit 8de802b

Browse files
committed
add ts extension to lint task
1 parent f1e9d77 commit 8de802b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@ jobs:
1717
- name: Run linters
1818
uses: wearerequired/lint-action@v1
1919
with:
20+
eslint_command_prefix: npm run
2021
eslint: true
22+
eslint_extensions: js,ts
2123
auto_fix: false

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Composable simulations for testing, development, and application previews",
55
"scripts": {
66
"clean": "npm run clean -ws",
7+
"eslint": "eslint",
78
"test": "npm run test -ws",
89
"build": "npm run prepack -ws",
910
"prepack": "npm run prepack -ws",

0 commit comments

Comments
 (0)