diff --git a/package.json b/package.json index 4ac3d1a9..2a884f29 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "prettier-fix": "prettier --write \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"", "lint": "run-p prettier-check lint-eslint", "lint-staged": "lint-staged", - "lint-eslint": "eslint . '**/*.{js,jsx,ts,tsx}" + "lint-eslint": "eslint . '**/*.{js,jsx,ts,tsx}'" }, "jest": { "clearMocks": true, diff --git a/packages/node-fhir-server-core/src/server/router.js b/packages/node-fhir-server-core/src/server/router.js index d6e80557..14c3f67c 100644 --- a/packages/node-fhir-server-core/src/server/router.js +++ b/packages/node-fhir-server-core/src/server/router.js @@ -247,7 +247,7 @@ function enableResourceRoutes(app, config, corsDefaults) { throw new Error( `${profileName} is an invalid profile configuration, please see the wiki for ` + 'instructions on how to enable a profile in your server, ' + - 'https://github.com/BlueHalo/node-fhir-server-core/wiki/Profile' + 'https://github.com/BlueHalo/node-fhir-server-core/wiki/Profile', ); } diff --git a/packages/node-fhir-server-core/src/server/server.js b/packages/node-fhir-server-core/src/server/server.js index 2a29d3f7..6feb1b1e 100644 --- a/packages/node-fhir-server-core/src/server/server.js +++ b/packages/node-fhir-server-core/src/server/server.js @@ -81,7 +81,7 @@ function validate(config) { invariant( !config.server.ssl || (config.server.ssl && config.server.ssl.key && config.server.ssl.cert), 'Invalid SSL Configuration, Please see the Wiki for a guide on how to setup SSL. ' + - 'See https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ServerConfiguration.md' + 'See https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ServerConfiguration.md', ); // If we have no profiles configured, notify them now @@ -89,7 +89,7 @@ function validate(config) { Object.keys(config.profiles).length > 0, 'No profiles configured. We do not enable any profiles by default so please ' + 'review the profile wiki for how to enable profiles and capabilities. ' + - 'See https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ConfiguringProfiles.md' + 'See https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ConfiguringProfiles.md', ); // We need to verify that each provided key is valid and that the config @@ -101,7 +101,7 @@ function validate(config) { errors.length === 0, 'Encountered the following errors attempting to load your provided profiles:' + `\n${errors.join('\n')}\n` + - 'See https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ConfiguringProfiles.md' + 'See https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ConfiguringProfiles.md', ); } @@ -337,7 +337,7 @@ class Server { invariant( port || server.port, 'Missing port. Please provide a port when initializing the server. See ' + - 'https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ServerConfiguration.md' + 'https://github.com/BlueHalo/node-fhir-server-core/blob/master/docs/ServerConfiguration.md', ); // Update the express app to be in instance of createServer