dev: Ignore CHANGELOG.md from pre-commit hook checks

* Add license checking for .prettierignore
This commit is contained in:
Cole Lawrence 2023-04-28 16:07:44 -03:00 committed by Olivier Goffart
parent 76356c181b
commit 3490fa936a
4 changed files with 5 additions and 1 deletions

2
.prettierignore Normal file
View file

@ -0,0 +1,2 @@
# See https://prettier.io/docs/en/ignore.html
CHANGELOG.md

View file

@ -7,7 +7,7 @@ Files: */slint-logo-*.svg */slint-logo-*.png
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
License: CC-BY-ND-4.0
Files: .clang-format .gitattributes .gitignore */.gitignore .dockerignore .pre-commit-config.yaml .vscode/* cspell.json rustfmt.toml .mailmap */.eslintrc.yml Cargo.lock
Files: .clang-format .gitattributes .gitignore */.gitignore .dockerignore .prettierignore .pre-commit-config.yaml .vscode/* cspell.json rustfmt.toml .mailmap */.eslintrc.yml Cargo.lock
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
License: GPL-3.0-only OR LicenseRef-Slint-commercial

View file

@ -113,6 +113,7 @@
"ignorePaths": [
"api/cpp/docs/conf.py",
"Cargo.toml",
"CHANGELOG.md",
"cspell.json",
".github/workflows/*.yaml"
],

View file

@ -309,6 +309,7 @@ lazy_static! {
("\\.gitattributes$", LicenseLocation::NoLicense),
("\\.gitignore$", LicenseLocation::NoLicense),
("\\.dockerignore$", LicenseLocation::NoLicense),
("\\.prettierignore$", LicenseLocation::NoLicense),
("\\.h$", LicenseLocation::Tag(LicenseTagStyle::c_style_comment_style())),
("\\.html$", LicenseLocation::NoLicense),
("\\.jpg$", LicenseLocation::NoLicense),