mocksaml/eslint.config.cjs

77 lines
1.7 KiB
JavaScript
Raw Permalink Normal View History

build(deps): bump the next group with 2 updates (#1045) * build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
2025-11-17 00:25:50 +00:00
const nextCoreWebVitals = require('eslint-config-next/core-web-vitals');
const i18Next = require('eslint-plugin-i18next');
const globals = require('globals');
const tsParser = require('@typescript-eslint/parser');
const js = require('@eslint/js');
build(deps): bump the next group with 2 updates (#1045) * build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
2025-11-17 00:25:50 +00:00
const { FlatCompat } = require('@eslint/eslintrc');
const compat = new FlatCompat({
build(deps): bump the next group with 2 updates (#1045) * build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
2025-11-17 00:25:50 +00:00
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});
build(deps): bump the next group with 2 updates (#1045) * build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
2025-11-17 00:25:50 +00:00
module.exports = [
{
ignores: [
'.next',
'**/node_modules',
'**/dist',
'eslint.config.cjs',
'node_modules/**',
'.next/**',
'out/**',
'build/**',
'next-env.d.ts',
],
},
...compat.extends('eslint:recommended'),
...compat.extends('prettier'),
...nextCoreWebVitals,
...compat.extends('plugin:i18next/recommended'),
{
plugins: {
i18next: i18Next,
},
languageOptions: {
build(deps): bump the next group with 2 updates (#1045) * build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
2025-11-17 00:25:50 +00:00
globals: {
...globals.node,
},
parser: tsParser,
ecmaVersion: 13,
sourceType: 'module',
},
},
{
files: ['**/*.ts', '**/*.tsx'],
rules: {
'no-undef': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'off',
'import/no-anonymous-default-export': 'off',
'@typescript-eslint/no-require-imports': 'off',
'i18next/no-literal-string': 'off',
},
},
{
files: ['**/*.js'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-require-imports': 'off',
},
},
{
files: ['sdk/**/*'],
rules: {
'@next/next/no-img-element': 'off',
},
build(deps): bump the next group with 2 updates (#1045) * build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v15.5.5...v16.0.3) Updates `eslint-config-next` from 15.5.5 to 16.0.3 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.0.3/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-version: 16.0.3 dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-version: 16.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "build(deps): bump the next group with 2 updates" This reverts commit b1ee63005d5ea23b6b9e6a9c7d8f40a578225d81. * updated to nextjs 16 * more nextjs 16 upgrade tweaks * more nextjs 16 upgrade tweaks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
2025-11-17 00:25:50 +00:00
},
];