Skip to content

Commit 587d4ca

Browse files
committed
feat: Add Alex
1 parent bafb6c1 commit 587d4ca

File tree

3 files changed

+2569
-25
lines changed

3 files changed

+2569
-25
lines changed

.github/workflows/alex.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Alex Recommends
2+
3+
on: pull_request
4+
5+
jobs:
6+
alex:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Use Node.js
12+
uses: actions/setup-node@v3
13+
with:
14+
node-version: 12.x
15+
- name: Comment on new PR
16+
uses: brown-ccv/[email protected]
17+
with:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
message_id: 'alex'
20+
no_binary: false
21+
profanity_sureness: 2
22+
pr_only: false
23+
glob_pattern: 'services/**'

package.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
"description": "",
55
"main": "src/index.js",
66
"scripts": {
7-
"lint": "eslint . --fix",
8-
"spell": "cspell /**/",
9-
"spell-code": "cspell src/**/",
10-
"ci": "eslint . --fix && cspell /**/"
7+
"spell": "cspell /**/",
8+
"spell:code": "cspell src/**/",
9+
"lint": "npx eslint src",
10+
"lint:fix": "yarn run lint -- --fix",
11+
"lint:language": "alex src/**/",
12+
"lint-ci": "eslint . && prettier -c \"**/*.{md,json,yml,yaml}\"",
13+
"prettier:code": "npx prettier src --check",
14+
"prettier:code:fix": "yarn run prettier -- --write",
15+
"prettier:all:fix": "prettier . --write",
16+
"format": "yarn run prettier:all:fix && yarn run lint:fix"
1117
},
1218
"keywords": [],
1319
"author": "",
@@ -21,6 +27,7 @@
2127
"json-to-frontmatter-markdown": "^1.0.0"
2228
},
2329
"devDependencies": {
30+
"alex": "^11.0.0",
2431
"cspell": "^6.16.0",
2532
"eslint": "^8.29.0",
2633
"eslint-config-prettier": "^8.5.0",

0 commit comments

Comments
 (0)