Changeset 27787

Timestamp:
Jul 27, 2023, 10:56:52 PM (12 months ago)
Author:
bb
Message:

Add linter rule detecting project name misspellings.

Reviewed By: Freagarach
Differential Revision: D4313

Location:
ps/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/.arclint

    r25200 r27787  
    1616        "5": "disabled"
    1717      }
     18
     19
     20
    1821    },
    1922    "licence-year": {
  • ps/trunk/build/arclint/README.md

    r25056 r27787  
    11# Linting
    22
    3 This folder tools for linting 0 A.D. code
     3This folder A.D. code
    44Linting is done via Arcanist: https://secure.phabricator.com/book/phabricator/article/arcanist_lint/
    55
     
    88- `text` is configured to detect whitespace issues.
    99- `json` detects JSON syntax errors.
     10
    1011- `licence-year` detects Copyright header years and compares against modification time.
    1112- `eslint`, if installed, will run on javascript files.
  • ps/trunk/build/arclint/pyrolint/__phutil_library_map__.php

    r25082 r27787  
    1313    'JenkinsRenderer' => 'src/JenkinsRenderer.php',
    1414    'LicenceYearLinter' => 'src/LicenceYearLinter.php',
     15
    1516  ),
    16   'function' => array(),
     17  'function' => array(
     18    'remove_null' => 'src/JenkinsRenderer.php',
     19  ),
    1720  'xmap' => array(
    1821    'ESLintLinter' => 'ArcanistExternalLinter',
    1922    'JenkinsRenderer' => 'ArcanistLintRenderer',
    2023    'LicenceYearLinter' => 'ArcanistLinter',
     24
    2125  ),
    2226));
Note: See TracChangeset for help on using the changeset viewer.