Skip to content

Commit

Permalink
Upgrade firebase functions (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
jogboms committed Jun 20, 2023
2 parents 5eeebc9 + 134905b commit d061e32
Show file tree
Hide file tree
Showing 17 changed files with 3,078 additions and 8,304 deletions.
3 changes: 2 additions & 1 deletion functions/.firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"projects": {
"default": "tailor-made-2018"
"default": "tailor-made-2018",
"dev": "tailormade-debug"
}
}
33 changes: 33 additions & 0 deletions functions/functions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"google",
"plugin:@typescript-eslint/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["tsconfig.json", "tsconfig.dev.json"],
sourceType: "module",
},
ignorePatterns: [
"/lib/**/*", // Ignore built files.
],
plugins: [
"@typescript-eslint",
"import",
],
rules: {
"quotes": ["error", "double"],
"require-jsdoc": 0,
"max-len": ["error", {"code": 120}],
"import/no-unresolved": 0,
},
};
12 changes: 9 additions & 3 deletions functions/functions/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
node_modules
etc
lib
# Compiled JavaScript files
lib/**/*.js
lib/**/*.js.map

# TypeScript v1 declaration files
typings/

# Node.js dependency directory
node_modules/
Loading

0 comments on commit d061e32

Please sign in to comment.