mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:01:09 +02:00
🔧 chore: add root ESLint config and enable lint in pre-commit
- 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>
This commit is contained in:
parent
0086e33910
commit
fd962c30b2
4 changed files with 371 additions and 331 deletions
|
|
@ -1,3 +1,4 @@
|
|||
export default {
|
||||
'*.{ts,tsx,js,jsx,json,md,svelte,astro}': ['prettier --config .prettierrc.json --write'],
|
||||
'*.{ts,tsx,js,jsx,mjs,cjs}': ['eslint --fix', 'prettier --config .prettierrc.json --write'],
|
||||
'*.{json,md,svelte,astro}': ['prettier --config .prettierrc.json --write'],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue