Api before/after linter