Skip to content

Commit

Permalink
Merge a4996ca into 5099a42
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Nov 28, 2023
2 parents 5099a42 + a4996ca commit 6ab5e53
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
10 changes: 1 addition & 9 deletions .eslintrc.js
Expand Up @@ -12,7 +12,6 @@ module.exports = {
"plugin:promise/recommended",
"plugin:regexp/recommended",
"plugin:security/recommended",
"plugin:security-node/recommended",
"prettier",
],
overrides: [
Expand Down Expand Up @@ -40,14 +39,7 @@ module.exports = {
// Explicitly tell ESLint to parse JavaScript as CommonJS, as airbnb-base sets this to "modules" for ECMAScript
sourceType: "script",
},
plugins: [
"import",
"jsdoc",
"promise",
"regexp",
"security",
"security-node",
],
plugins: ["import", "jsdoc", "promise", "regexp", "security"],
root: true,
rules: {
"@eslint-community/eslint-comments/disable-enable-pair": "off",
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -76,7 +76,6 @@
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-regexp": "^2.1.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-security-node": "^1.1.1",
"fastify": "^4.21.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
Expand Down
4 changes: 1 addition & 3 deletions src/index.test.js
Expand Up @@ -19,9 +19,7 @@ describe("Disablecache plugin", () => {
await server.ready();
});

afterAll(async () => {
await server.close();
});
afterAll(async () => server.close());

it("Sets relevant cache response headers", async () => {
const response = await server.inject({
Expand Down

0 comments on commit 6ab5e53

Please sign in to comment.