How to disable WebStorm semicolon check?

前端 未结 6 516
北海茫月
北海茫月 2020-12-07 18:06

How to disable WebStorm semicolon check in Node.js?

I have tried the following method but they do not work:

  • Checked out the option use semicolon
6条回答
  •  半阙折子戏
    2020-12-07 18:59

    We were also straggling with it all the time. To make our life easier we even commit idea styling file. To make it work for every team member.

    Open setting/preferences => search by rule text => disable it.

    Once you disabled this or any other rule. To stop it appear again you can add to .gitignore:

    ### Commit specific idea files
    .idea/*
    !.idea/inspectionProfiles
    .idea/inspectionProfiles/*
    !.idea/inspectionProfiles/Project_Default.xml
    

    I didn't find any better way to configure it. So...

提交回复
热议问题