Skip to content

Commit

Permalink
Merge branch 'master' into fix-unhandled-403-response-in-init-functions
Browse files Browse the repository at this point in the history
* master:
  change out tslint for eslint, new publish config (firebase#486)
  Remove scripts/package.json and update firebase version. (firebase#1704)
  Fix functions deploy integration test script (firebase#1703)
  Loop the modules properties without prototype methods. Fixes firebase#1687 (firebase#1694)
  Allow customers to configure the db setting 'strictTriggerValidation' (firebase#1702)
  [firebase-release] Removed change log and reset repo after 7.5.0 release
  7.5.0
  Fix export users (firebase#1690)
  Fix port issues in WSL (firebase#1699)
  Unremove but deprecate separate port for WebChannel. (firebase#1698)
  Release Firestore Emulator 1.9.0 and remove WebChannel workaround. (firebase#1689)
  update handlebars dependency (firebase#1686)
  [firebase-release] Removed change log and reset repo after 7.4.0 release
  7.4.0
  remove items from previews list (firebase#488)
  • Loading branch information
Elgarni committed Oct 9, 2019
2 parents e599281 + 9a9332b commit cb64add
Show file tree
Hide file tree
Showing 26 changed files with 3,602 additions and 508 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
coverage
lib
node_modules
templates
standalone
templates
11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

70 changes: 70 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
module.exports = {
"env": {
"es6": true,
"node": true,
},
"extends": [
"eslint:recommended",
"google",
"prettier",
"prettier/@typescript-eslint",
],
"rules": {
"prettier/prettier": "error",
"no-prototype-builtins": "warn", // TODO(bkendall): remove, allow to error.
"no-restricted-globals": ["error", "name", "length"], // This is a keeper.
"no-useless-escape": "warn", // TODO(bkendall): remove, allow to error.
"prefer-const": "warn", // TODO(bkendall): remove, allow to error.
"prefer-promise-reject-errors": "warn", // TODO(bkendall): remove, allow to error.
"prefer-spread": "warn", // TODO(bkendall): remove, allow to error.
"require-jsdoc": "warn", // TODO(bkendall): remove, allow to error.
"valid-jsdoc": "warn", // TODO(bkendall): remove, allow to error.
},
"overrides": [
{
"files": ["*.ts"],
"rules": {
"camelcase": "warn", // TODO(bkendall): remove, allow to error.
"new-cap": "warn", // TODO(bkendall): remove, allow to error.
"no-case-declarations": "warn", // TODO(bkendall): remove, allow to error.
"no-constant-condition": "warn", // TODO(bkendall): remove, allow to error.
"no-fallthrough": "warn", // TODO(bkendall): remove, allow to error.
"no-unused-vars": "warn", // TODO(bkendall): remove, allow to error.
"require-atomic-updates": "warn", // TODO(bkendall): remove, allow to error.
},
},
{
"files": ["*.js"],
"rules": {
"guard-for-in": "warn", // TODO(bkendall): remove, allow to error.
"no-extra-boolean-cast": "warn", // TODO(bkendall): remove, allow to error.
"no-invalid-this": "warn", // TODO(bkendall): remove, allow to error.
"no-redeclare": "warn", // TODO(bkendall): remove, allow to error.
"no-undef": "warn", // TODO(bkendall): remove, allow to error.
"no-var": "warn", // TODO(bkendall): remove, allow to error.
"one-var": "warn", // TODO(bkendall): remove, allow to error.
"prefer-rest-params": "warn", // TODO(bkendall): remove, allow to error.
},
},
{
"files": ["*.spec.*"],
"env": {
"mocha": true,
},
"rules": {
"require-jsdoc": "warn", // TODO(bkendall): remove, allow to error.
},
},
],
"globals": {},
"parserOptions": {
"ecmaVersion": "2017",
"project": ["tsconfig.json"],
"sourceType": "module",
},
"plugins": [
"prettier",
"@typescript-eslint",
],
"parser": "@typescript-eslint/parser",
};
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"trailingComma": "es5",
"arrowParens": "always",
"printWidth": 100,
"arrowParens": "always"
"trailingComma": "es5"
}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Added support for managing the Realtime Database setting `strictTriggerValidation`.
* Fixes trigger parser to not rely on prototype methods (#1687).
Loading

0 comments on commit cb64add

Please sign in to comment.