Skip to content

Commit 355ff28

Browse files
authored
Update main.yml
1 parent 0c96c84 commit 355ff28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: npm install jshint --global
5454

5555
- name: Run Linter
56-
run: |
57-
# This command finds all JavaScript files recursively and runs JSHint on them
58-
find ./server/database -name "*.js" -exec jshint {} +
59-
echo "Linted all the js files successfully"
56+
run: |
57+
# Этот параметр указывает JSHint использовать ES8 (или ES6, если необходимо)
58+
find ./server/database -name "*.js" -exec jshint --esversion 8 {} +
59+
echo "Linted all the js files successfully"

0 commit comments

Comments
 (0)