Skip to content

Commit 34a4bf9

Browse files
authored
Release v2.2.1 (#67)
- dep: eslint-plugin-haraka -> @haraka/eslint-config - populate `[files]` in package.json. Delete .npmignore. - updated scripts{} in package.json - lint: remove duplicate / stale rules from .eslintrc - prettier (mostly) - es6: use arrow shorthand fns
1 parent 7f49abe commit 34a4bf9

File tree

18 files changed

+269
-292
lines changed

18 files changed

+269
-292
lines changed

.codeclimate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
engines:
22
eslint:
33
enabled: true
4-
channel: "eslint-8"
4+
channel: 'eslint-8'
55
config:
6-
config: ".eslintrc.yaml"
6+
config: '.eslintrc.yaml'
77

88
ratings:
9-
paths:
10-
- "**.js"
9+
paths:
10+
- '**.js'
1111

1212
checks:
1313
method-complexity:

.eslintrc.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ env:
22
node: true
33
es6: true
44
mocha: true
5+
es2022: true
56

6-
plugins:
7-
- haraka
8-
9-
extends: [ "eslint:recommended", "plugin:haraka/recommended" ]
10-
11-
root: true
12-
13-
rules:
14-
indent: [2, 4, {"SwitchCase": 1}]
7+
extends: ['@haraka']

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
version: 2
55
updates:
6-
- package-ecosystem: "npm"
7-
directory: "/"
6+
- package-ecosystem: 'npm'
7+
directory: '/'
88
schedule:
9-
interval: "weekly"
9+
interval: 'weekly'

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [ pull_request, push ]
3+
on: [pull_request, push]
44

55
env:
66
CI: true
@@ -14,9 +14,9 @@ jobs:
1414
secrets: inherit
1515

1616
test:
17-
needs: [ lint ]
17+
needs: [lint]
1818
uses: haraka/.github/.github/workflows/ubuntu.yml@master
1919

2020
windows:
21-
needs: [ lint ]
21+
needs: [lint]
2222
uses: haraka/.github/.github/workflows/windows.yml@master

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: CodeQL
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [ master ]
8+
branches: [master]
99
schedule:
1010
- cron: '18 7 * * 4'
1111

.github/workflows/coveralls.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ env:
1313
jobs:
1414
publish:
1515
uses: haraka/.github/.github/workflows/publish.yml@master
16-
secrets: inherit
16+
secrets: inherit

.npmignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

.prettierrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
singleQuote: true
2+
semi: false

0 commit comments

Comments
 (0)