bro.landing/eslint.config.mjs
Primakov Alexandr Alexandrovich d246831f18
All checks were successful
platform/bro-js/bro.landing/pipeline/head This commit looks good
add eslint script
2024-08-14 11:25:20 +03:00

13 lines
379 B
JavaScript

import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";
export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
];