Files
gitactionTest/eslint.config.mjs
2025-09-05 11:09:58 +09:00

16 lines
443 B
JavaScript

import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import { defineConfig } from 'eslint/config';
export default defineConfig([
{
files: ['**/*.{js,mjs,cjs,ts,mts,cts}'],
plugins: { js },
extends: ['js/recommended'],
languageOptions: { globals: globals.browser },
},
{ files: ['**/*.js'], languageOptions: { sourceType: 'script' } },
tseslint.configs.recommended,
]);