Skip to content

Commit

Permalink
🔧 Exclude *.min.* files from Prettier, cspell, and ESLint (#798)
Browse files Browse the repository at this point in the history
- 🚫 .prettierignore: Add *.min.*
- 🚫 cspell.json: Add *.min.* to ignored files
- 🚫 ESLint: Add **/*.min.* to ignore patterns
  • Loading branch information
usagizmo authored Sep 9, 2024
1 parent ab78383 commit 433142b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pnpm-workspace.yaml

# custom
.turbo
*.min.*
/apps/mockup/public/styles.css
/apps/web/.svelte-kit
/apps/web/src/lib/$generated
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"node_modules",
"/project-words.txt",
// custom
"*.min.*",
"*.avif",
"*.icns",
"*.mp4",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ export default [
},
eslintConfigPrettier,
{
ignores: ['**/.svelte-kit/', '**/$generated/'],
ignores: ['**/*.min.*', '**/.svelte-kit/', '**/$generated/'],
},
];

0 comments on commit 433142b

Please sign in to comment.