'use strict';
import { defineConfig } from 'eslint/config';
import baseConfig from './eslint-base.config.js';

const nonLevel2Config=defineConfig([...baseConfig,{'files':['**/*.{js,jsx,ts,tsx}'],'rules':{'custom-eslint-rules/must-declare-module-members-in-consistent-order':'error','custom-eslint-rules/must-not-destructure-function-parameters':'error','custom-eslint-rules/no-use-abstract-categories-in-naming':'error','custom-eslint-rules/must-use-plural-in-function-names-if-returns-array':'error','custom-eslint-rules/must-use-plural-enum-const-and-singular-type':'error','custom-eslint-rules/must-use-single-return-in-function':'error','custom-eslint-rules/no-duplicate-imports':'error','custom-eslint-rules/must-not-declare-func-inside-another-func':'error','custom-eslint-rules/must-not-use-process-env':'error','custom-eslint-rules/must-not-define-functions-in-constants-files':'error','custom-eslint-rules/must-avoid-non-null-assertions':'error','custom-eslint-rules/no-unused-properties-in-constants':'error','custom-eslint-rules/must-not-use-all-caps-constants':'error','no-console':'error','custom-eslint-rules/must-not-use-fetch':'error','custom-eslint-rules/must-use-env-keys-from-constant':'error','custom-eslint-rules/must-not-include-unnecessary-parameters':'error','custom-eslint-rules/must-use-resource-provider-functions-to-get-resources-on-server':'error','custom-eslint-rules/exported-func-above-regular':'error'}},{'files':['**/*.{ts,tsx}'],'rules':{'custom-eslint-rules/must-not-pass-full-objects-into-functions-needlessly':'error','custom-eslint-rules/must-not-create-funcs-files-for-non-components':'error','custom-eslint-rules/must-always-specify-types-for-api-responses':'error','custom-eslint-rules/must-use-functions-for-component-ids':'error','custom-eslint-rules/must-use-path-constants-for-paths':'error','custom-eslint-rules/must-use-typed-resources-for-crud-update':'error','custom-eslint-rules/must-not-use-inline-object-type-parameters':'error','custom-eslint-rules/must-specify-second-generic-parameter-in-apipost-and-apiput':'error','custom-eslint-rules/must-not-use-constants-for-single-usage':'error','@typescript-eslint/naming-convention':['error',{'selector':'import','format':['camelCase','PascalCase']},{'selector':'variable','format':['camelCase']},{'selector':'typeLike','format':['camelCase','PascalCase']},{'selector':'enumMember','format':['camelCase','PascalCase']},{'selector':'class','format':['PascalCase']},{'selector':'interface','format':['PascalCase']},{'selector':['property','typeProperty'],'modifiers':['requiresQuotes'],'format':null},{'selector':['property','typeProperty'],'filter':{'regex':'^\x5cd+$','match':!![]},'format':null},{'selector':['property','typeProperty'],'filter':{'regex':'__','match':!![]},'format':null},{'selector':['property','typeProperty'],'filter':{'regex':'^[A-Z][A-Za-z0-9]*_[A-Za-z0-9_]+$','match':!![]},'format':null},{'selector':['property','typeProperty'],'format':['camelCase','snake_case','PascalCase','UPPER_CASE'],'leadingUnderscore':'allow'},{'selector':'function','format':['camelCase']}]}},{'files':['**/app/**/route.ts'],'rules':{'@typescript-eslint/naming-convention':['error',{'selector':['variable'],'modifiers':['exported'],'format':['UPPER_CASE'],'filter':{'regex':'^(GET|POST|PUT|DELETE|PATCH|OPTIONS|HEAD)$','match':!![]}}]}},{'files':['**/*.tsx'],'rules':{'@typescript-eslint/naming-convention':['error',{'selector':'import','format':['camelCase','PascalCase']},{'selector':'variable','format':['camelCase','PascalCase']},{'selector':'typeLike','format':['camelCase','PascalCase']},{'selector':'class','format':['PascalCase']},{'selector':'interface','format':['PascalCase']},{'selector':['property','typeProperty'],'modifiers':['requiresQuotes'],'format':null},{'selector':['property','typeProperty'],'filter':{'regex':'^\x5cd+$','match':!![]},'format':null},{'selector':['property','typeProperty'],'filter':{'regex':'__','match':!![]},'format':null},{'selector':['property','typeProperty'],'filter':{'regex':'^[A-Z][A-Za-z0-9]*_[A-Za-z0-9_]+$','match':!![]},'format':null},{'selector':['property','typeProperty'],'format':['camelCase','snake_case','PascalCase','UPPER_CASE'],'leadingUnderscore':'allow'},{'selector':'function','format':['camelCase','PascalCase']}]}}]);

export { nonLevel2Config };
