feat: Add Alex

imgbot
KieranRobson 2022-12-05 22:43:06 +00:00
parent bafb6c1342
commit 587d4cad63
3 changed files with 2567 additions and 23 deletions

23
.github/workflows/alex.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Alex Recommends
on: pull_request
jobs:
alex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 12.x
- name: Comment on new PR
uses: brown-ccv/alex-recommends@v1.2.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message_id: 'alex'
no_binary: false
profanity_sureness: 2
pr_only: false
glob_pattern: 'services/**'

View File

@ -4,10 +4,16 @@
"description": "", "description": "",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"lint": "eslint . --fix", "spell": "cspell /**/",
"spell": "cspell /**/", "spell:code": "cspell src/**/",
"spell-code": "cspell src/**/", "lint": "npx eslint src",
"ci": "eslint . --fix && cspell /**/" "lint:fix": "yarn run lint -- --fix",
"lint:language": "alex src/**/",
"lint-ci": "eslint . && prettier -c \"**/*.{md,json,yml,yaml}\"",
"prettier:code": "npx prettier src --check",
"prettier:code:fix": "yarn run prettier -- --write",
"prettier:all:fix": "prettier . --write",
"format": "yarn run prettier:all:fix && yarn run lint:fix"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
@ -21,6 +27,7 @@
"json-to-frontmatter-markdown": "^1.0.0" "json-to-frontmatter-markdown": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"alex": "^11.0.0",
"cspell": "^6.16.0", "cspell": "^6.16.0",
"eslint": "^8.29.0", "eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",

2552
yarn.lock

File diff suppressed because it is too large Load Diff