Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I need to push some ui resource file(an .rp file from Axure RP9) with the git of VS Code. But when I commit it, I got a error message:

When I commit a .rp file:

image

I got a error message:

image

The git error log:

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -

> husky - npm run -s precommit
> husky - node v12.16.3

Reading git index versions...
docs/VCMB/resources/VCMB_UI_Ultimate.rp(7,1): Bad whitespace indentation
docs/VCMB/resources/VCMB_UI_Ultimate.rp(8,1): Bad whitespace indentation
docs/VCMB/resources/VCMB_UI_Ultimate.rp(99,1): Bad whitespace indentation
docs/VCMB/resources/VCMB_UI_Ultimate.rp(154,1): Bad whitespace indentation
docs/VCMB/resources/VCMB_UI_Ultimate.rp(215,1): Bad whitespace indentation
docs/VCMB/resources/VCMB_UI_Ultimate.rp(234,1): Bad whitespace indentation
... same errors
docs/VCMB/resources/VCMB_UI_Ultimate.rp: Missing or bad copyright statement


Hygiene failed with 143 errors. Check 'build / gulpfile.hygiene.js'.

> husky - pre-commit hook failed (add --no-verify to bypass)
> husky - to debug, use 'npm run precommit'

I don't know how to disable the text detection of the .rp file. Really appreciate if anybody knows!

question from:https://stackoverflow.com/questions/65895722/how-to-disable-the-vs-codes-text-detection-of-rp-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.6k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...