forked from semgrep/semgrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codemapignore
73 lines (58 loc) · 1.65 KB
/
.codemapignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# -*- sh -*-
# gitignore-like file for Codemap (see https://github.com/aryx/codemap)
# No need _build/ here, it's handled in .gitignore :)
# No need node_modules/ here, it's handled in js/.gitignore :)
# Far more flexible/powerful than the old way to skip files (skip_list.txt)
# not our code or generated code
# useful to exclude for -test_loc, but useful to keep when fixing bugs
#/languages/**/semgrep-*
#/languages/**/orig_spec/
#/languages/**/fyi/
#/libs/ojsonnet/Std_jsonnet.ml
#/tests/parsing/jsonnet/std.jsonnet
# third-party modified slightly by us
/js/libyaml/
# just to see PA code:
/tests/semgrep-rules/
# use negation to count rules as part of semgrep code!
#!/tests/semgrep-rules/**/*.yaml
#!/tests/semgrep-rules/**/*.yml
# semi autogenerated
/libs/ast_generic/Meta_AST.ml
# ocaml-tree-sitter generated code
languages/**/Parse.ml
languages/**/Boilerplate.ml
languages/**/CST.ml
languages/**/parser.c
languages/**/parser.h
# TODO get rid of?
languages/typescript/tree-sitter/Boilerplate_tree_sitter_typescript.ml
languages/typescript/tree-sitter/CST_tree_sitter_typescript.ml
# ATD generated code (now also in semgrep-interfaces/.codemapignore)
*_[jt].ml
*_j.mli
# big files
/tests/semgrep-rules/libsonnet/metadata/cwe.libsonnet
*.min.js
/CHANGELOG.md
/LICENSE
# big test files
/cli/tests/default/e2e/rules/long_message.yaml
/cli/tests/performance/
/tests/perf/
/tests/precommit_dogfooding/
/tests/patterns/java/perf_fields.java
/tests/patterns/ts/perf_fields.ts
/perf/perf-matching/
/perf/r2c-rules/
/perf/rules/
# test snapshots
/cli/tests/default/e2e/snapshots
# mypy stuff
/cli/stubs
# pypi
*.lock
# nodejs stuff
package-lock.json
# pad stuff
PFFF_DB.json