summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorpatwork <patwork@gmail.com>2024-05-16 13:50:13 +0200
committerpatwork <patwork@gmail.com>2024-05-16 13:50:13 +0200
commit04307043829486be59ca2c3f46b90f5d6ff71600 (patch)
tree8bdcdde4ef4e259b6a2f34692e52d06c80af8644 /.pre-commit-config.yaml
parent5708a3a02e00061e03366f2dabf8942df66fedca (diff)
downloadredot-engine-04307043829486be59ca2c3f46b90f5d6ff71600.tar.gz
Fix for jsdoc hook in pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5c0c0b6917..5a0e919c47 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -125,8 +125,18 @@ repos:
language: node
entry: jsdoc
files: ^platform/web/js/engine/(engine|config|features)\.js$
- args: [--template, platform/web/js/jsdoc2rst/, --destination, '', -d, dry-run]
- additional_dependencies: ["jsdoc@4.0.2"]
+ args:
+ - --template
+ - platform/web/js/jsdoc2rst/
+ - platform/web/js/engine/engine.js
+ - platform/web/js/engine/config.js
+ - platform/web/js/engine/features.js
+ - --destination
+ - ''
+ - -d
+ - dry-run
+ pass_filenames: false
+ additional_dependencies: ['jsdoc@^4.0.3']
- id: copyright-headers
name: copyright-headers