Skip to content

Commit 4a5a171

Browse files
Updated the lintstatgerc.cjs
1 parent c1ebff2 commit 4a5a171

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.lintstagedrc.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module.exports = {
44
'*.{js,ts,json,svelte}': ['npm run format', 'git add'],
5-
'./src/**/*.{svelte,ts}': ['npm run format', 'npm run lint:fix'],
6-
'./.{ts,cjs,js}': ['npm run lint:fix'],
7-
'*.{jpg,jpeg,gif}': ['npm run optimize:image', 'git add'],
5+
'./src/**/*.{svelte,ts}': ['npm run format', 'npm run lint:fix', 'git add'],
6+
'./.{ts,cjs,js}': ['npm run lint:fix', 'git add'],
7+
'*.{jpg,jpeg,gif,png}': ['npm run optimize:image', 'git add'],
88
};

0 commit comments

Comments
 (0)