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:
I got a error message:
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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…