Skip to content

Commit 1665341

Browse files
committed
initial
0 parents  commit 1665341

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+32346
-0
lines changed

Diff for: .cspell.json

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"version": "0.2",
3+
"gitignoreRoot": ".",
4+
"useGitignore": true,
5+
"dictionaries": [
6+
"css",
7+
"html",
8+
"fonts",
9+
"typescript",
10+
"softwareTerms",
11+
"companies",
12+
"lorem-ipsum",
13+
"project-words"
14+
],
15+
"dictionaryDefinitions": [
16+
{
17+
"name": "project-words",
18+
"path": "./project-words.txt",
19+
"noSuggest": true
20+
}
21+
],
22+
"ignorePaths": [
23+
"CHANGELOG.md",
24+
"LICENSE",
25+
"package.json",
26+
"yarn.lock",
27+
"project-words.txt",
28+
"__snapshots__",
29+
"*.min.*",
30+
"jest/vendor",
31+
"docusaurus.config.js",
32+
"src/css/",
33+
"babel.config.js",
34+
"api/",
35+
"sidebars.js",
36+
"tsconfig.*.json",
37+
".github/**",
38+
"__pycache__/**/*",
39+
"docs/tutorials/send-private-transaction.md",
40+
"docs/reference/plugins/security.md",
41+
"docs/tutorials/kubernetes/*",
42+
"docs/reference/logging-and-errors.md",
43+
"docs/reference/cli-syntax.md",
44+
"docs/reference/api-methods.md",
45+
"docs/develop/client-libraries.md",
46+
"docs/deploy/upgrade/migration.md",
47+
"docs/configure-and-manage/manage/multi-tenancy/migration.md",
48+
"docs/configure-and-manage/manage/json-rpc-api-security.md",
49+
"docs/configure-and-manage/configure/use-configuration-file.md",
50+
"static/img/",
51+
"static/files/besu/config-goerli.toml",
52+
"static/files/besu/config-sepolia.toml",
53+
"static/files/besu/config-mainnet.toml"
54+
],
55+
"ignoreRegExpList": [
56+
"Email",
57+
"Urls",
58+
"#[\\w-]*",
59+
"/^\\s*```[\\s\\S]*?^\\s*```/gm",
60+
"/^\\s*`[\\s\\S]*?^\\s*`/gm",
61+
"`[^`]*`",
62+
"\\|[^\\n]+\\|",
63+
"\\|[^\n]+",
64+
"[^\n]+\\|",
65+
"\\|[^\n]+\\|[^\n]+\\|",
66+
"\\/img\\/socialCards\\/[\\w-]+\\.jpg"
67+
]
68+
}

Diff for: .editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
max_line_length = 80
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
insert_final_newline = false
16+
trim_trailing_whitespace = false

Diff for: .eslintignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
build/
2+
.eslintrc.js
3+
docs/test-api
4+
./node_modules/*
5+
*.md
6+
*.mdx
7+
*.mp4
8+
**/*.mov
9+
src/components/cardlist.jsx
10+
src/components/HomepageCards/index.tsx
11+
sidebars.js
12+
LICENSE
13+
*.json

Diff for: .eslintrc.js

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
},
6+
extends: [
7+
"plugin:react/recommended",
8+
"airbnb-typescript",
9+
"plugin:import/typescript",
10+
// @NOTE: Make sure this is always the last element in the array.
11+
"plugin:prettier/recommended",
12+
],
13+
parser: "@typescript-eslint/parser",
14+
parserOptions: {
15+
ecmaVersion: 2020,
16+
sourceType: "module",
17+
ecmaFeatures: {
18+
jsx: true,
19+
},
20+
project: ["./tsconfig.json"],
21+
},
22+
plugins: [
23+
"react",
24+
"react-hooks",
25+
"jsx-a11y",
26+
"import",
27+
"prettier",
28+
"@typescript-eslint",
29+
],
30+
settings: {
31+
react: {
32+
pragma: "React", // Pragma to use, default to "React"
33+
fragment: "Fragment", // Fragment to use (may be a property of <pragma>), default to "Fragment"
34+
version: "detect", // React version. "detect" automatically picks the version you have installed.
35+
// You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
36+
// default to latest and warns if missing
37+
// It will default to "detect" in the future
38+
},
39+
"import/parsers": {
40+
"@typescript-eslint/parser": [".ts", ".tsx"],
41+
},
42+
"import/resolver": {
43+
typescript: {},
44+
},
45+
},
46+
rules: {
47+
"react/jsx-filename-extension": [1, { "extensions": [".js", ".tsx", ".jsx"] }],
48+
"import/prefer-default-export": 0,
49+
"react/prop-types": 0,
50+
"import/no-unresolved": [
51+
"error",
52+
{ ignore: ["^@theme", "^@docusaurus", "^@site"] },
53+
],
54+
"no-nested-ternary": 0,
55+
"no-console": 0,
56+
"no-unused-vars": 0,
57+
"no-use-before-define": 0,
58+
"arrow-body-style": 0,
59+
"jsx-a11y/anchor-is-valid": 0,
60+
"jsx-a11y/no-static-element-interactions": 0,
61+
"jsx-a11y/click-events-have-key-events": 0,
62+
"@typescript-eslint/no-unused-expressions": 0,
63+
"@typescript-eslint/no-unused-vars": ["warn", { args: "none" }],
64+
"@typescript-eslint/no-use-before-define": "warn",
65+
"react/require-default-props": 0,
66+
"react/jsx-props-no-spreading": 0,
67+
"react/button-has-type": 0,
68+
"jsx-a11y/label-has-associated-control": [
69+
"error",
70+
{
71+
labelComponents: [],
72+
labelAttributes: [],
73+
controlComponents: [],
74+
assert: "either",
75+
depth: 2,
76+
},
77+
],
78+
"@typescript-eslint/naming-convention": [
79+
"error",
80+
{
81+
selector: "variableLike",
82+
leadingUnderscore: "forbid",
83+
trailingUnderscore: "forbid",
84+
format: ["camelCase", "PascalCase", "UPPER_CASE"],
85+
},
86+
],
87+
"import/extensions": 0,
88+
},
89+
};

Diff for: .github/ISSUE_TEMPLATE/bug-report.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
labels: ['bug']
4+
body:
5+
- type: textarea
6+
id: issue-description
7+
attributes:
8+
label: Describe the bug
9+
description: A clear and concise description of what the bug is.
10+
placeholder: Describe the bug here.
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: issue-reproduction
15+
attributes:
16+
label: Steps to reproduce
17+
description: Describe steps to reproduce the behavior.
18+
placeholder: Steps to reproduce the bug here.
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: expected-behavior
23+
attributes:
24+
label: Expected behavior
25+
description: A clear and concise description of what you expected to happen.
26+
placeholder: Expected behavior here.
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: screenshots
31+
attributes:
32+
label: Screenshots
33+
description: If applicable, add screenshots to help explain your problem.
34+
placeholder: Add screenshots here.

Diff for: .github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Linea
4+
url: https://community.linea.build/
5+
about: Discuss with the Linea community

Diff for: .github/ISSUE_TEMPLATE/partner-contribution.yml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: I'm an ecosystem contributor
2+
description: If you're a protocol, dapp, or other ecosystem organization, submit your issue here
3+
labels: ['ecosystem']
4+
body:
5+
- type: textarea
6+
id: organization
7+
attributes:
8+
label: Organization
9+
description: Name of the organization.
10+
placeholder: Enter your organization's name
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: contributor-name
15+
attributes:
16+
label: Contributor name/alias
17+
description: Provide the name or alias of the contributor.
18+
placeholder: Enter the name or alias
19+
validations:
20+
required: false
21+
- type: textarea
22+
id: contributor-affiliation
23+
attributes:
24+
label: Affiliation to organization
25+
description: Provide the contributor's affiliation to the organization.
26+
placeholder: Enter the affiliation
27+
validations:
28+
required: false
29+
- type: textarea
30+
id: contributor-role
31+
attributes:
32+
label: Contributor role
33+
description: Provide the role of the contributor (if applicable).
34+
placeholder: Enter the role
35+
validations:
36+
required: false
37+
- type: checkboxes
38+
id: nature-of-issue
39+
attributes:
40+
label: Nature of issue
41+
description: Select the type(s) of issue you are reporting.
42+
options:
43+
- label: Add documentation about our product
44+
required: false
45+
- label: Improve or update existing documentation
46+
required: false
47+
- label: Correct errors
48+
required: false
49+
- label: Other (please specify below:)
50+
required: false
51+
- type: textarea
52+
id: specify-other
53+
attributes:
54+
label: Specify Other
55+
description: If you selected "Other", please specify.
56+
placeholder: Specify other issue here.

Diff for: .github/workflows/build.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Build
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Build
19+
uses: Consensys/docs-gha/build@main
20+
with:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/case.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Check file name case
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
case:
11+
name: Check for case being inconsistent
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
folder: ["docs"]
16+
permissions:
17+
contents: read
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Case check action
22+
uses: Consensys/docs-gha/case@main
23+
with:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
DOC_DIR: ${{ matrix.folder }}

Diff for: .github/workflows/lint.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Check for lint/build errors
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
lint:
11+
name: Lint Code Base, Spelling
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Lint
19+
uses: Consensys/docs-gha/lint@main
20+
with:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
23+
linkCheck:
24+
name: Link Checking
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
file-extensions: [".md", ".mdx"]
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: LinkCheck
32+
uses: Consensys/docs-gha/linkcheck@main
33+
with:
34+
FILE_EXTENSION: '${{ matrix.file-extensions }}'
35+
CONFIG_FILE: 'mlc_config.json'

Diff for: .gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
__pycache__/
18+
.idea
19+
.yarn
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
.vercel

Diff for: .nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.17.0

0 commit comments

Comments
 (0)