~/talk

Turning a Code Snippet into Linter Rules

TalkinRussianat PHPFest 2020 · 2020-10-23..10-24· [testing, developer-experience]
slides:none on file

The talk explains how to write project-specific linter diagnostics for PHP using NoVerify’s dynamic rule mechanism. It covers the DSL for dynamic rules, the current AST-matching engine and performance optimizations, the rule runner and its optimizations, limitations of AST-template approaches, Go-related implementation challenges (lack of generics), and comparisons with go-ruleguard’s DSL and design differences.

AI-written summary · about

  1. 0:00Introduction
  2. 3:48Custom diagnostics
  3. 8:41Gleb's stove history
  4. 11:52Dynamic rules differences
  5. 14:42Dynamic rule example
  6. 20:14Pattern matching
  7. 23:46Search algorithm optimization
  8. 25:32Rules in Verify Fin
  9. 29:27Pros and cons
  10. 35:22Integration and examples
  11. 36:06Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.