mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
- Add eslint.config.mjs at root with TypeScript/JS rules - Configure lint-staged to run ESLint --fix on JS/TS files - Add ESLint dependencies to root package.json - Set "type": "module" in package.json to fix module warning - Ignore projects with their own ESLint configs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
4 lines
191 B
JavaScript
4 lines
191 B
JavaScript
export default {
|
|
'*.{ts,tsx,js,jsx,mjs,cjs}': ['eslint --fix', 'prettier --config .prettierrc.json --write'],
|
|
'*.{json,md,svelte,astro}': ['prettier --config .prettierrc.json --write'],
|
|
};
|