19 lines
410 B
JavaScript
19 lines
410 B
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
import globals from "globals";
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
globals: { ...globals.browser },
|
|
},
|
|
},
|
|
reactHooks.configs.flat.recommended,
|
|
{
|
|
ignores: ["dist/**"],
|
|
}
|
|
);
|