We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab81deb + 355ff28 commit 4d6e3b2Copy full SHA for 4d6e3b2
.github/workflows/main.yml
@@ -53,7 +53,7 @@ jobs:
53
run: npm install jshint --global
54
55
- 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"
+ run: |
+ # Этот параметр указывает JSHint использовать ES8 (или ES6, если необходимо)
+ find ./server/database -name "*.js" -exec jshint --esversion 8 {} +
+ echo "Linted all the js files successfully"
0 commit comments