Skip to content

VBC-921: hardcoded-outdated-year

warning

Category: docs
Analysis: Heuristic
File types: .md, .txt, .js, .ts, .tsx, .jsx, .css, .py, .go, .rs, .html
Excluded paths: **/test/**, **/tests/**, **/__tests__/**, **/testdata/**, **/fixtures/**, **/test_*.py, **/*_test.py, **/test.py, **/conftest.py, **/*_test.go, **/*_bench.go, **/*.test.*, **/*.spec.*, **/bench/**, **/benchmark*, **/*corpus*, **/*payload*
Tags: documentation maintenance

What it reports

Copyright notice ends at a year that has passed: {match}. It is now {year}. Use a range ending in the current year, or generate the year at build time.

Examples

Exercised by heuristic-checker.test.ts: compares against the year the run happens in.

Released under the MIT License.