15 lines
459 B
JavaScript
15 lines
459 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,
|
|
];
|