Skip to content

Commit 328fbd4

Browse files
authored
Merge pull request #3 from OpenZeppelin/initial_setup
initial setup
2 parents 62c9f7b + 7644ae1 commit 328fbd4

18 files changed

+2929
-3
lines changed

.github/CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Please review [EIP-1](https://eips.ethereum.org/EIPS/eip-1) for guidelines.
2+
3+
<!-- RATIONALE FOR THIS FILE: IT IS DISPLAYED WHEN YOU CREATE AN ISSUE OR MAKE A PR -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Do you want to discuss ideas or ask questions about the process?
4+
url: https://forum.openzeppelin.com/
5+
about: Use the OpenZeppelin forum for related discussion!

.github/checkov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
# You can see all available properties here: https://github.com/bridgecrewio/checkov#configuration-using-a-config-file
3+
quiet: true
4+
skip-check:
5+
# GHA7 errors on custom Action triggers that we have in our repo.
6+
- CKV_GHA_7
7+
# CKV2_GHA_1 errors on custom workflows that are not using write-all.
8+
- CKV2_GHA_1

.github/cspell.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"version": "0.2",
3+
"language": "en",
4+
"ignorePaths": [
5+
"**/node_modules/**",
6+
"**/vscode-extension/**",
7+
"**/.git/**",
8+
"**/.github/**",
9+
".vscode",
10+
"package-lock.json",
11+
"**/*.docx",
12+
".gitignore"
13+
],
14+
"ignoreRegExpList": [
15+
"/[0-9a-f]{8}.js/gi",
16+
"/[0-9a-f]{8}\\_ABI.json/gi",
17+
"/0x[0-9a-f]{40}/gi",
18+
"/Qm[0-9a-zA-Z]{44}/g",
19+
"/bafy[0-9a-zA-Z]{40}[0-9a-zA-Z]+/g"
20+
],
21+
"words": [
22+
"arbitrum",
23+
"autotask",
24+
"autotasks",
25+
"awilix",
26+
"bignumber",
27+
"bytecode",
28+
"checksummed",
29+
"collateralization",
30+
"collateralized",
31+
"creds",
32+
"fauceteer",
33+
"forta",
34+
"hashrate",
35+
"ierc",
36+
"infile",
37+
"ipfs",
38+
"keyfile",
39+
"kvstore",
40+
"liquidatable",
41+
"markdownlint",
42+
"multicall",
43+
"newstake",
44+
"nodebuffer",
45+
"nomicfoundation",
46+
"openxml",
47+
"pausable",
48+
"permissionless",
49+
"plusplus",
50+
"polygonfork",
51+
"proselint",
52+
"proselintrc",
53+
"reentrancy",
54+
"secretlintrc",
55+
"ssot",
56+
"struct",
57+
"timelock",
58+
"undercollateralized",
59+
"wmatic",
60+
"zipfile",
61+
"rollup",
62+
"backoff",
63+
"calldatas",
64+
"volatilities",
65+
"stablecoins",
66+
"axios",
67+
"TYPEHASH",
68+
"predelay",
69+
"Srcs",
70+
"remappings",
71+
"eusdc",
72+
"Unitroller",
73+
"AAVE",
74+
"USDP",
75+
"proxied",
76+
"Clonable",
77+
"CUSDC",
78+
"Blacklister",
79+
"SNOWTRACE",
80+
"POLYGONSCAN",
81+
"ARBISCAN",
82+
"LINEASCAN",
83+
"BASESCAN",
84+
"peersky",
85+
"configurator",
86+
"bulker",
87+
"CCTP",
88+
"usdbc"
89+
],
90+
"flagWords": []
91+
}

.github/gitleaks.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
title = "gitleaks config"
3+
4+
[extend]
5+
# useDefault will extend the base configuration with the default gitleaks config:
6+
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml
7+
useDefault = true
8+
9+
[allowlist]
10+
description = "Allowlisted files"
11+
paths = [
12+
'''.automation/test''',
13+
'''megalinter-reports''',
14+
'''.github/linters''',
15+
'''node_modules''',
16+
'''.mypy_cache''',
17+
'''(.*?)gitleaks\.toml$''',
18+
'''(.*?)\.(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''',
19+
'''(go.mod|go.sum)$''',
20+
'''(.*?)\.spec\.js$''',
21+
'''defender-components/tests/utils'''
22+
]
23+
regexes = [
24+
'''0x[0-9a-fA-F]{40}''',
25+
]

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
release:
2+
- head-branch: ["changeset-release/main"]
3+
staging:
4+
- base-branch: "staging"
5+
prod:
6+
- base-branch: "main"

.github/markdown-link-check.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^https://reqbin.com/req/"
5+
},
6+
{
7+
"pattern": "^https://github.com/openzeppelin/compound-monitoring-v3/actions"
8+
},
9+
{
10+
"pattern": "^https://github.com/openzeppelin/compound-monitoring-v3/workflows"
11+
},
12+
{
13+
"pattern": "^https://faucet.polygon.technology/"
14+
}
15+
],
16+
"retryOn429": true,
17+
"retryCount": 5,
18+
"aliveStatusCodes": [200, 203]
19+
}

.github/markdownlint.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"MD004": false,
3+
"MD007": {
4+
"indent": 2
5+
},
6+
"MD013": {
7+
"line_length": 400
8+
},
9+
"MD026": {
10+
"punctuation": ".,;:!。,;:"
11+
},
12+
"MD029": false,
13+
"MD033": false,
14+
"MD036": false,
15+
"MD041": false,
16+
"blank_lines": false
17+
}

.github/proselintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"checks": {
3+
"typography.symbols": false
4+
}
5+
}

.github/secretlintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rules": [
3+
{
4+
"id": "@secretlint/secretlint-rule-preset-recommend"
5+
}
6+
]
7+
}

0 commit comments

Comments
 (0)