mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 04:51:17 +00:00
24 lines
526 B
JavaScript
24 lines
526 B
JavaScript
![]() |
import globals from "globals";
|
||
|
import eslint from "@eslint/js";
|
||
|
import tseslint from "typescript-eslint";
|
||
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
||
|
|
||
|
export default [
|
||
|
...tseslint.config(
|
||
|
eslint.configs.recommended,
|
||
|
...tseslint.configs.strict,
|
||
|
eslintPluginPrettierRecommended
|
||
|
),
|
||
|
{
|
||
|
ignores: ["public/*", "docs/*", "vendor/*", "castopod/*"],
|
||
|
},
|
||
|
{
|
||
|
languageOptions: {
|
||
|
globals: {
|
||
|
...globals.browser,
|
||
|
...globals.node,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|