diff --git a/.eslintrc.js b/.eslintrc.js index 5afd1ce..cc563dd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,7 +19,7 @@ module.exports = { 'no-console': 'warn', // Stylistic warnings - 'quotes': ['warn', 'single'], + 'quotes': ['warn', 'single', {avoidEscape: true}], 'indent': ['warn', 4], }, }; diff --git a/server.js b/server.js index 23b56e1..63efcbd 100644 --- a/server.js +++ b/server.js @@ -16,7 +16,7 @@ const app = express(); app.use(helmet({ contentSecurityPolicy: { directives: { - defaultSrc: ['\'none\''], + defaultSrc: ["'none'"], }, }, frameguard: {