mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 06:02:33 +00:00
Document SCS.1 and expose make scs_lint for the common C source/header scope, including userspace and KUnit. Adapt engine's OCS.7.5 check to SCST_KUNIT_VISIBLE, SCST_KUNIT_VISIBLE_INLINE and VISIBLE_IF_KUNIT. Require each annotation to occupy its own line; leave other function attributes and source warnings unchanged. Use Tree-sitter to distinguish code from comments, literals and preprocessor directive contents while checking every conditional branch. Pin the parser dependencies and run them through uv. Support whole-tree, DIFFBR and explicit-file selection without new exclusions or diagnostic exceptions. Retain findings and checked-file records even when a later input fails. Add isolated rule, diff-mode, coverage and read-failure fixtures with a separate test target.
10 lines
352 B
JSON
10 lines
352 B
JSON
{
|
|
"version": 1,
|
|
"notes": [
|
|
"SCS.1: KUnit visibility annotations must occupy their own source line.",
|
|
"Check all preprocessor branches in common-policy C sources and headers, including KUnit.",
|
|
"Comments, literals and directive contents are outside the layout rule.",
|
|
"No additional input exclusions or diagnostic exceptions."
|
|
]
|
|
}
|