From aefee33282534e11747ac83c5196278b06055004 Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Wed, 3 Feb 2021 09:37:50 -0500 Subject: [PATCH] Format code and enforce code style on PR (#527) * Format code and enforce code style on PR * Use line length of 100 --- .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 +- .prettierrc.json | 4 +- README.md | 184 +- docs/adfs/README.md | 71 +- 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 | 159 +- src/passport-saml/multiSamlStrategy.ts | 56 +- src/passport-saml/saml-post-signing.ts | 27 +- src/passport-saml/saml.ts | 1190 +++--- src/passport-saml/strategy.ts | 105 +- src/passport-saml/types.ts | 175 +- test/mocha.opts | 3 +- test/multiSamlStrategy.js | 198 +- test/saml-post-signing-tests.js | 99 +- test/samlTests.js | 151 +- test/test-signatures.js | 296 +- test/tests.js | 3732 ++++++++++-------- tsconfig.json | 33 +- 28 files changed, 3748 insertions(+), 2935 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: "" ---