mirror of
https://github.com/rharkor/caching-for-turbo.git
synced 2025-06-11 02:13:46 +09:00
13 lines
No EOL
546 B
JavaScript
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,
|
|
]); |