commit-report-sync/eslint.config.mjs
2025-03-03 14:45:38 -08:00

15 lines
558 B
JavaScript

// TODO - this was setup with `npm init @eslint/config@latest`, so has mostly just standard defaults.
// Return to it and tweak 'em (and see if converting to TypeScript has any value!)
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{ignores: ["node_modules/", "dist/"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];