Skip to content

Instantly share code, notes, and snippets.

View muratkeremozcan's full-sized avatar

Murat K Ozcan muratkeremozcan

View GitHub Profile
@muratkeremozcan
muratkeremozcan / global_rules.md
Created July 10, 2025 13:41
windsurf global rules

Windsurf Global Rules

Meta Rule: When applying rules, explicitly state which rules are being followed in the output. You may abbreviate rule descriptions to key phrases.

Purpose

This is a centralized ruleset for AI assistance across all projects. These rules define:

  • Coding standards and best practices
  • Project structure conventions
@muratkeremozcan
muratkeremozcan / vite.config.ts
Last active August 30, 2024 15:03
No node hassle vite config for cypress component tests in large repos
import react from '@vitejs/plugin-react' // the -swc version causes problems with cyct, use at your peril
import { polyfillNode } from 'esbuild-plugin-polyfill-node'
import path from 'path'
import type { PluginOption } from 'vite'
import { defineConfig } from 'vite'
import commonjsExternals from 'vite-plugin-commonjs-externals'
import { viteCommonjs } from '@originjs/vite-plugin-commonjs'
import webfontDownload from 'vite-plugin-webfont-dl'
export default defineConfig({