Changes between Version 16 and Version 17 of Phabricator


Ignore:
Timestamp:
Mar 15, 2021, 4:27:29 PM (3 years ago)
Author:
wraitii
Comment:

Linting update

Legend:

Unmodified
Added
Removed
Modified
  • Phabricator

    v16 v17  
    8585}}}
    8686
     87=== Linting ===
     88 
     89{{{#!sh
     90arc lint
     91}}}
     92will run linters on any modified files, and report errors for modified lines. You can use `--lintall` to make arcanist report on unmodified lines.
     93You can also pass a filename to report all errors on that file.
     94
     95ESLint and Cppcheck are run if you have them installed, check [https://code.wildfiregames.com/source/0ad/browse/ps/trunk/build/arclint/README.md;25056?as=remarkup build/arclint/README.md] for installation instructions.
     96
     97Linting will be automatically run when you upload a patch.
    8798
    8899=== Upload a patch ===