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/",
|
2024-06-14 11:15:36 +00:00
|
|
|
"**/assets/",
|
2024-06-14 11:09:53 +00:00
|
|
|
"**/out/",
|
|
|
|
"**/coverage/",
|
|
|
|
"**/lib/",
|
|
|
|
"**/esm/",
|
|
|
|
"**/cjs/",
|
|
|
|
"**/playwright-report/",
|
|
|
|
"**/playwright-coverage/",
|
|
|
|
"**/playwright-screenshots/",
|
|
|
|
"**/playwright-videos",
|
2024-06-14 11:15:36 +00:00
|
|
|
"webpack.config.js",
|
2024-06-14 11:09:53 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
eslint.configs.recommended,
|
2024-06-14 11:15:36 +00:00
|
|
|
...tseslint.configs.recommended,
|
2024-06-14 11:09:53 +00:00
|
|
|
eslintPluginPrettierRecommended,
|
2024-06-14 11:01:14 +00:00
|
|
|
);
|