Provide the SKIP_LINTING property state for source files in the file API
This is a follow-on task split out from !8467 (comment 1363499).
It would be desirable to expose the SKIP_LINTING
source file property in the CMake file API somehow. IDEs might benefit from knowing to skip linting on such sources when showing them in their editor window. Some generated files can grow quite large, and if the developer loads them into their IDE's editor, the IDE may kick off linting tasks which consume a lot of cpu or memory. In extreme cases, this can affect the interactivity of their IDE and even their whole system. Providing the SKIP_LINTING
state in the file API replies would give the IDE an opportunity to know not to do that.
We may not need to include the state of this property for every source file. It may be sufficient to only write out its value if it differs from the default (i.e. if SKIP_LINTING
is set to true).