Vint - new Vim script lint

151a0b14f5914e786e2e104cfb3a9b2f?s=47 Kuniwak
November 08, 2014

Vint - new Vim script lint

I introduced the new lint for Vim script "vint"

Japanese ver: https://speakerdeck.com/orgachem/zhuan-banuxian-falsezhang-vint

151a0b14f5914e786e2e104cfb3a9b2f?s=128

Kuniwak

November 08, 2014
Tweet

Transcript

  1. About me

  2. Kuniwak

  3. Today,
 I talk about…

  4. 'PSFXBSOFEJT GPSFBSNFE ʲస͹͵ઌͷ伺ʳ

  5. Lint tool for Vim script

  6. Story

  7. 8IFO*XSPUF7JN1MVHJO  NZTUFSJPVTCVHTPGUFO XFSFPDDVSSFEʜ

  8. None
  9. None
  10. #VU*EPOPUMPWF
 7JNTDSJQUʜ

  11. ʗ XFMDPNF ʘ ʘXFMDPNFʗ ʘXFMDPNFʗ

  12. *IPQFUPCVHT
 HFUQSFWFOUFE
 CFGPSFFYFDVUJPO

  13. 'PSFXBSOFEJT GPSFBSNFE

  14. Forewarned is forearmed

  15. None
  16. $ vint .vimrc .vimrc:6:10: Variable is not declared (see :help

    E738)
  17. Why vint?

  18. Lint possible story

  19. Stop the World Lint

  20. Nagging Mom Lint

  21. Meaning less Lint

  22. Fastness Customizable Usefulness Kuniwak/
 vint A A A syngan/
 vim-vimlint

    C B A ujihisa/
 vimlint B B B dahu/
 VimLint B C B dbakker/
 vim-lint A C B
  23. How to install

  24. $ pip install vim-vint

  25. None
  26. $ vint .vimrc .vimrc:6:10: Variable is not declared (see :help

    E738)
  27. Dive into
 the Vint

  28. Maintainability

  29. .BKPSMJOUTXBTJNQMFNFOUFE CZUZQFT w $POUSPMqPXBOEMJOUJOHSVMF JOUFHSBUFEMJOU w $POUSPMqPXBOEMJOUJOHSVMF TFQBSBUFEMJOU

  30. Let’s compare the 2 linting types by the index:

  31. “How many lines will you read to add a new

    linting rule”
  32. *OUFHSBUFEMJOU w KTMJOUpMFYMJOFT w KTIJOUpMFYMJOFT w WJNWJNMJOUpMFYMJOFT w QZqBLFTpMFYMJOFT

  33. 4FQBSBUFEMJOU w&WFOUESJWFOGPSMJOFT w QFQGVODUJPOTYMJOFT w WJNMJOUpMFTYMJOFT w&WFOUESJWFOGPS"45 IJHIMZGVODUJPOBM  w

    1FSM$SJUJDpMFTYMJOFT w SVCPDPQpMFTYMJOFT w FTMJOUpMFTYMJOFT w WJOUpMFTYMJOFT
  34. 5IFSFGPSFʜ w *OUFHSBUFEMJOUJTBCTPMVUFMZ
 OPUIVNBOSFBEBCMF w "45CBTFEFWFOUESJWFOMJOUDBO BOBMZ[FWBSJBCMFTDPQFT

  35. How to add new policy

  36. Please ask me

  37. Help us!

  38. Forewarned is forearmed https://github.com/Kuniwak/vint