From 688f8d5f095438324292cf03b215bc40d8459ffe Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Sat, 30 Jan 2021 13:37:57 -0500 Subject: [PATCH 1/2] Format code and enforce code style on PR --- .eslintrc | 3 +- .github/ISSUE_TEMPLATE/bug-report.md | 8 +- .github/ISSUE_TEMPLATE/feature_request.md | 3 +- .github/pull_request_template.md | 8 +- .github/workflows/workflow.yml | 20 +- README.md | 187 +- docs/adfs/README.md | 72 +- docs/xml-signing-example.js | 54 +- multiSamlStrategy.d.ts | 4 +- multiSamlStrategy.js | 2 +- package-lock.json | 16 + package.json | 9 +- src/passport-saml/algorithms.ts | 44 +- src/passport-saml/index.ts | 29 +- src/passport-saml/inmemory-cache-provider.ts | 171 +- src/passport-saml/multiSamlStrategy.ts | 82 +- src/passport-saml/saml-post-signing.ts | 52 +- src/passport-saml/saml.ts | 1404 ++++-- src/passport-saml/strategy.ts | 150 +- src/passport-saml/types.ts | 190 +- test/mocha.opts | 3 +- test/multiSamlStrategy.js | 256 +- test/saml-post-signing-tests.js | 107 +- test/samlTests.js | 152 +- test/test-signatures.js | 344 +- test/tests.js | 4694 ++++++++++-------- tsconfig.json | 35 +- 27 files changed, 4841 insertions(+), 3258 deletions(-) diff --git a/.eslintrc b/.eslintrc index c0476488..7dc76aad 100644 --- a/.eslintrc +++ b/.eslintrc @@ -17,7 +17,6 @@ "prettier" ], "rules": { - "no-console": "warn", - "prettier/prettier": "warn" + "no-console": "warn" } } diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index b418d5d0..859eb592 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -3,8 +3,7 @@ name: Bug report about: Create a report to help us improve title: "[BUG]" labels: bug -assignees: '' - +assignees: "" ---