Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ jobs:
- name: functions npm install (ci)
working-directory: ./functions
run: npm ci
# Fails on warnings too, not only on errors (info-level
# suggestions do not fail).
- name: lint functions/
working-directory: ./functions
run: npm run lint
# The build excludes the specs and test utilities.
- name: typecheck functions/ specs
working-directory: ./functions
run: npm run typecheck
- name: npm test (Firestore rules and functions/)
run: |
npm run test
Expand Down
44 changes: 0 additions & 44 deletions functions/.eslintrc.js

This file was deleted.

35 changes: 35 additions & 0 deletions functions/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$schema": "https://biomejs.dev/schemas/2.6.4/schema.json",
"root": true,
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": ["**", "!lib"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 80
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "es5",
"arrowParentheses": "always"
}
},
"assist": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended"
}
}
}
Loading
Loading