Skip to content

Commit 0062b26

Browse files
committed
- initial commit
0 parents  commit 0062b26

19 files changed

+1145
-0
lines changed

.codeclimate.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
engines:
2+
eslint:
3+
enabled: true
4+
channel: "eslint-8"
5+
config:
6+
config: ".eslintrc.yaml"
7+
8+
ratings:
9+
paths:
10+
- "**.js"
11+
12+
checks:
13+
return-statements:
14+
enabled: false
15+
file-lines:
16+
config:
17+
threshold: 400
18+
method-lines:
19+
config:
20+
threshold: 30
21+
method-complexity:
22+
config:
23+
threshold: 6

.eslintrc.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
env:
2+
node: true
3+
es6: true
4+
mocha: true
5+
es2020: true
6+
7+
plugins:
8+
- haraka
9+
10+
extends:
11+
- eslint:recommended
12+
- plugin:haraka/recommended
13+
14+
rules:
15+
indent: [2, 2, {"SwitchCase": 1}]
16+
17+
root: true
18+
19+
globals:
20+
OK: true
21+
CONT: true
22+
DENY: true
23+
DENYSOFT: true
24+
DENYDISCONNECT: true
25+
DENYSOFTDISCONNECT: true

.github/ISSUE_TEMPLATE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### system info
2+
3+
Please report your OS, Node version, and Haraka version by running this shell script on your Haraka server and replacing this section with the output.
4+
5+
echo "Haraka | $(haraka -v)"; echo " --- | :--- "; echo "Node | $(node -v)"; echo "OS | $(uname -a)"; echo "openssl | $(openssl version)"
6+
7+
### Expected behavior
8+
9+
### Observed behavior
10+
11+
### Steps to reproduce

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Changes proposed in this pull request:
2+
3+
-
4+
-
5+
6+
Fixes #
7+
8+
Checklist:
9+
- [ ] docs updated
10+
- [ ] tests updated
11+
- [ ] Changes.md updated
12+
- [ ] package.json.version bumped

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: "npm"
6+
directory: "/"
7+
schedule:
8+
interval: "monthly"
9+
allow:
10+
- dependency-type: production

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on: [ push, pull_request ]
4+
5+
env:
6+
CI: true
7+
8+
jobs:
9+
lint:
10+
uses: haraka/.github/.github/workflows/lint.yml@master
11+
12+
# coverage:
13+
# uses: haraka/.github/.github/workflows/coverage.yml@master
14+
# secrets: inherit
15+
16+
ubuntu:
17+
needs: [ lint ]
18+
uses: haraka/.github/.github/workflows/ubuntu.yml@master
19+
20+
windows:
21+
needs: [ lint ]
22+
uses: haraka/.github/.github/workflows/windows.yml@master

.github/workflows/codeql.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: '18 7 * * 4'
10+
11+
jobs:
12+
codeql:
13+
uses: haraka/.github/.github/workflows/codeql.yml@master

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- package.json
9+
10+
env:
11+
CI: true
12+
13+
jobs:
14+
publish:
15+
uses: haraka/.github/.github/workflows/publish.yml@master
16+
secrets: inherit
17+

.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# nyc test coverage
18+
.nyc_output
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directories
30+
node_modules
31+
jspm_packages
32+
33+
# Optional npm cache directory
34+
.npm
35+
36+
# Optional REPL history
37+
.node_repl_history
38+
39+
package-lock.json
40+
bower_components
41+
# Optional npm cache directory
42+
.npmrc
43+
.idea
44+
.DS_Store
45+
haraka-update.sh

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".release"]
2+
path = .release
3+
url = git@github.com:msimerson/.release.git

0 commit comments

Comments
 (0)