Skip to content

Commit

Permalink
Merge branch 'master' into completion
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeee committed Apr 2, 2024
2 parents 41ed2e3 + 931d4df commit e41b4cc
Show file tree
Hide file tree
Showing 30 changed files with 1,858 additions and 1,283 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
show-progress: false

- uses: actions/setup-node@v4
with:
Expand All @@ -25,7 +27,8 @@ jobs:
registry-url: https://registry.npmjs.org

- run: npm ci
- run: npm run compile
- run: npm run ci
- run: npm run build
- run: npm test
env:
CI: true
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
show-progress: false

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm

- run: npm ci
- run: npm run compile
- run: npm run ci
- run: npm run build
- run: npm test
env:
CI: true
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- id: metadata
uses: dependabot/fetch-metadata@v1
uses: dependabot/fetch-metadata@v2

- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
Expand Down
50 changes: 50 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
"formatter": {
"enabled": true,
"indentWidth": 4,
"indentStyle": "tab",
"lineWidth": 100
},
"vcs": {
"enabled": true,
"clientKind": "git",
"defaultBranch": "master",
"root": "."
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noConstEnum": "off",
"noDebugger": "off"
},
"correctness": {
"noVoidTypeReturn": "off"
}
}
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded"
}
},
"overrides": [
{
"include": [
"src/scanner.ts"
],
"linter": {
"rules": {
"suspicious": {
"noAssignInExpressions": "off"
},
"style": {
"noParameterAssign": "off"
}
}
}
}
]
}
Loading

0 comments on commit e41b4cc

Please sign in to comment.