Skip to content

Commit 4d6e3b2

Browse files
committed
2 parents ab81deb + 355ff28 commit 4d6e3b2

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)