diff --git a/.github/lint.yml b/.github/lint.yml new file mode 100644 index 0000000000..0b94878571 --- /dev/null +++ b/.github/lint.yml @@ -0,0 +1,64 @@ +use-configs: + - lint/opensource/copyrights + - lint/opensource/banned_words + - lint/allowed_includes +lint: + clang-format: + included: + - \.cpp$ + - \.h$ + - \.inl$ + - \.hpp$ + excluded: + - third_party/ + - infra/ + - scripts/ + + cmake-format: + included: + - CMakeLists.txt$ + - \.cmake$ + excluded: + - third_party/ + - infra/ + + copyright: + excluded: + - third_party/ + - scripts/tests/copyright/out/ + mit_header: + year_constraints: + opencl: 2018 + shared: 2018 + level_zero: 2020 + + ults-needed: + component_names: + - opencl + - shared + - level_zero/core + - level_zero/experimental + - level_zero/tools + + banned_words: + exclude: + - third_party/ + master: + todo: + exclude: + - GUIDELINES.md + + allowed_includes: + excluded: + - third_party/ + header_extensions: + - .h + - .hpp + - .inl + - .builtin_kernel + + reference_projects: + - NEO + - IGC + - LOCI + - HSD diff --git a/.github/neo-lint.yml b/.github/neo-lint.yml deleted file mode 100644 index 0993b4d110..0000000000 --- a/.github/neo-lint.yml +++ /dev/null @@ -1 +0,0 @@ -use-project: neo diff --git a/.lint-revision b/.lint-revision index 73b46782d4..18efdb9ae6 100644 --- a/.lint-revision +++ b/.lint-revision @@ -1 +1 @@ -1.0.51 +1.1.8