1
0
Fork 0
mirror of https://github.com/rharkor/caching-for-turbo.git synced 2025-06-11 02:13:46 +09:00
caching-for-turbo/eslint.config.mjs
2025-04-10 09:52:03 +02:00

13 lines
No EOL
546 B
JavaScript

import { defineConfig } from "eslint/config";
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
export default defineConfig([
{ignores: ["lib/**/*", "dist/**/*", "node_modules/**/*", "coverage/**/*", "post.js"]},
{ files: ["**/*.{js,mjs,cjs,ts}"], plugins: { js }, extends: ["js/recommended"] },
{ files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
{ files: ["**/*.{js,mjs,cjs,ts}"], languageOptions: { globals: globals.browser } },
tseslint.configs.recommended,
]);