cs-backend/eslint.config.mjs

20 lines
504 B
JavaScript

import { defineConfig, globalIgnores } from 'eslint/config'
import globals from 'globals'
import js from '@eslint/js'
import tseslint from 'typescript-eslint'
export default defineConfig([
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{
files: ['**/*.{js,mjs,cjs,ts}'],
languageOptions: { globals: globals.node }
},
{
files: ['**/*.{js,mjs,cjs,ts}'],
plugins: { js },
extends: ['js/recommended']
},
tseslint.configs.recommended,
globalIgnores(['dist', 'licenseChecker.cjs'])
])