Skip to content

Commit 46ffd9b

Browse files
committed
repo setup
0 parents  commit 46ffd9b

11 files changed

+3326
-0
lines changed

.editorconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
indent_size = 2
7+
indent_style = space

.eslintrc.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"env": {
3+
"worker": true,
4+
"node": true,
5+
"es6": true
6+
},
7+
"parserOptions": {
8+
"ecmaVersion": "latest"
9+
},
10+
"root": true,
11+
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
12+
"plugins": [],
13+
"ignorePatterns": ["dist"],
14+
"rules": {
15+
"prettier/prettier": "error",
16+
"no-undef": "off"
17+
}
18+
}

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.prettierrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
trailingComma: 'all',
3+
singleQuote: true,
4+
};

.vscode/extensions.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"editorconfig.editorconfig"
5+
]
6+
}

.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
4+
}

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Cloudflare worker proxy
2+
3+
simple http proxy in a cloudflare worker.

0 commit comments

Comments
 (0)