Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 925bd4c0 authored by Jonathan L. Verner's avatar Jonathan L. Verner

Include more hidden files in projectfilter plugin (CI, Lint configs...)

Motivated by 58e6d4c6 this commit adds a few more standard files to
include in the project filter by default:

  -- gitlab, travis, circleCI CI config
  -- pre-commit commit hooks config
  -- pep8 (Python), prettier (JS, CSS, HTML formatter, see
     linter/formatter configs
  -- .editorconfig file
parent 7b911c94
......@@ -75,6 +75,16 @@ SerializedFilters defaultFilters()
// but do show some with special meaning
ret << SerializedFilter(QStringLiteral(".gitignore"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".gitmodules"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".pre-commit-config.yaml"), Filter::Files, Filter::Inclusive)
// CI config files
<< SerializedFilter(QStringLiteral(".gitlab-ci.yml"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".travis.yml"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".circleci"), Filter::Folders, Filter::Inclusive)
// Linting configs
<< SerializedFilter(QStringLiteral(".editorconfig"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".pep8"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".prettierignore"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".prettierrc*"), Filter::Files, Filter::Inclusive)
<< SerializedFilter(QStringLiteral(".clang-format"), Filter::Files, Filter::Inclusive);
// common vcs folders which we want to hide
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment