gauntlet-cswimr-plugins/eslint.config.mjs

16 lines
459 B
JavaScript
Raw Normal View History

import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";
2024-12-22 16:46:54 -05:00
import pluginPrettierRecommended from "eslint-plugin-prettier/recommended";
/** @type {import('eslint').Linter.Config[]} */
export default [
2024-12-22 16:46:54 -05:00
{
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
2024-12-22 16:46:54 -05:00
pluginPrettierRecommended,
];