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

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

vscode settings - How to disable the VS Code's text detection of .rp files?

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...