Skip to content

Commit 1ab9929

Browse files
authored
repo: Ignore dot files by default (+some code check ignores) (envoyproxy#22103)
Signed-off-by: Ryan Northey <[email protected]>
1 parent c521e19 commit 1ab9929

File tree

3 files changed

+25
-17
lines changed

3 files changed

+25
-17
lines changed

.bazelignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# only directories can be ignored, and no globbing
12
api
23
examples/grpc-bridge/script
34
tools/clang_tools
45
tools/dev/src
5-
*~
6-
\#*
6+
.project

.gitignore

+22-14
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,51 @@
1+
# Dot files, disallow by default, and enable explicitly
2+
\.*
3+
!\.azure-pipelines
4+
!\.bazelci
5+
!\.bazelignore
6+
!\.bazelrc
7+
!\.bazelversion
8+
!\.clang-format
9+
!\.clang-tidy
10+
!\.coveragerc
11+
!\.devcontainer
12+
!\.dockerignore
13+
!\.flake8
14+
!\.gitattributes
15+
!\.github
16+
!\.gitignore
17+
!\.python-version
18+
!\.style.yapf
19+
!\.yapfignore
20+
!\.zuul
21+
!\.zuul.yaml
22+
123
/bazel-*
224
BROWSE
325
/build
426
/build_*
527
*.bzlc
6-
.cache
7-
.clangd
8-
.classpath
9-
.clwb/
1028
/ci/bazel-*
1129
compile_commands.json
1230
cscope.*
13-
.deps
14-
.devcontainer.json
1531
/docs/landing_source/.bundle
1632
/generated
17-
.idea/
18-
.project
1933
*.pyc
2034
**/pyformat
2135
SOURCE_VERSION
22-
.settings/
2336
*.sw*
2437
tags
2538
TAGS
2639
/test/coverage/BUILD
2740
/tools/spelling/.aspell.en.pws
28-
.vimrc
29-
.vs
30-
.vscode
3141
clang-tidy-fixes.yaml
32-
.gdb_history
3342
clang.bazelrc
3443
user.bazelrc
3544
CMakeLists.txt
3645
cmake-build-debug
3746
/linux
3847
bazel.output.txt
3948
*~
40-
.coverage
4149
**/.DS_Store
4250
**/*.iml
4351
tools/dev/src

tools/code_format/check_format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from functools import cached_property
1919

2020
EXCLUDED_PREFIXES = (
21-
"./generated/", "./thirdparty/", "./build", "./.git/", "./bazel-", "./.cache",
21+
"./.", "./generated/", "./thirdparty/", "./build", "./bazel-", "./tools/dev/src",
2222
"./source/extensions/extensions_build_config.bzl", "./contrib/contrib_build_config.bzl",
2323
"./bazel/toolchains/configs/", "./tools/testdata/check_format/", "./tools/pyformat/",
2424
"./third_party/", "./test/extensions/filters/http/wasm/test_data",

0 commit comments

Comments
 (0)