forked from firebase/firebase-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-unhandled-403-response-in-init-functions
* 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
Showing
26 changed files
with
3,602 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
coverage | ||
lib | ||
node_modules | ||
templates | ||
standalone | ||
templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"arrowParens": "always", | ||
"printWidth": 100, | ||
"arrowParens": "always" | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
Oops, something went wrong.