Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump eslint from 8.57.0 to 9.8.0 #679

Merged
merged 2 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("eslint:recommended", "plugin:prettier/recommended"), {
languageOptions: {
globals: {
...globals.node,
},

ecmaVersion: 2020,
sourceType: "commonjs",
},
}];
8 changes: 1 addition & 7 deletions lib/express/myinfo/consent.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ const CONSENT_TEMPLATE = fs.readFileSync(
const authorizations = {}

const authorize = (redirectTo) => (req, res) => {
const {
client_id, // eslint-disable-line camelcase
redirect_uri, // eslint-disable-line camelcase
attributes,
purpose,
state,
} = req.query
const { client_id, redirect_uri, attributes, purpose, state } = req.query
const relayStateParams = qs.stringify({
client_id,
redirect_uri,
Expand Down
Loading
Loading