gauntlet-cswimr-plugins/eslint.config.mjs
cswimr 6e3ec417cb
All checks were successful
Actions / Build Plugins (pull_request) Successful in 41s
chore(eslint): mark prettier rule violations as warnings instead of errors
2024-12-29 16:32:03 -05:00

20 lines
526 B
JavaScript

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