mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
dev: Ignore CHANGELOG.md from pre-commit hook checks
* Add license checking for .prettierignore
This commit is contained in:
parent
76356c181b
commit
3490fa936a
4 changed files with 5 additions and 1 deletions
2
.prettierignore
Normal file
2
.prettierignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
# See https://prettier.io/docs/en/ignore.html
|
||||
CHANGELOG.md
|
|
@ -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
|
||||
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
"ignorePaths": [
|
||||
"api/cpp/docs/conf.py",
|
||||
"Cargo.toml",
|
||||
"CHANGELOG.md",
|
||||
"cspell.json",
|
||||
".github/workflows/*.yaml"
|
||||
],
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue