'use strict'; var eslintConfigDefiner = require('@praha/eslint-config-definer'); var eslintPluginNext = require('@next/eslint-plugin-next'); const nextConfigurator = () => { return [ { name: "@next/next/core-web-vitals", plugins: { "@next/next": eslintPluginNext }, rules: { // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access ...eslintPluginNext.configs.recommended.rules, // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access ...eslintPluginNext.configs["core-web-vitals"].rules } } ]; }; const next = eslintConfigDefiner.define([ nextConfigurator ]); exports.next = next;