2024-06-14 10:51:38 +00:00
|
|
|
// @ts-check
|
2024-06-14 11:09:53 +00:00
|
|
|
import eslint from "@eslint/js";
|
|
|
|
import tseslint from "typescript-eslint";
|
|
|
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
2024-06-14 10:51:38 +00:00
|
|
|
|
|
|
|
export default tseslint.config(
|
2024-06-14 11:09:53 +00:00
|
|
|
{
|
|
|
|
ignores: [
|
|
|
|
"**/node_modules/",
|
|
|
|
"**/dist/",
|
|
|
|
"**/build/",
|
|
|
|
"**/out/",
|
|
|
|
"**/coverage/",
|
|
|
|
"**/lib/",
|
|
|
|
"**/esm/",
|
|
|
|
"**/cjs/",
|
|
|
|
"**/playwright-report/",
|
|
|
|
"**/playwright-coverage/",
|
|
|
|
"**/playwright-screenshots/",
|
|
|
|
"**/playwright-videos",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
eslint.configs.recommended,
|
|
|
|
...tseslint.configs.strict,
|
|
|
|
eslintPluginPrettierRecommended,
|
2024-06-14 11:01:14 +00:00
|
|
|
);
|