diff --git a/src/tasks/gitignore/index.js b/src/tasks/gitignore/index.js
index <HASH>..<HASH> 100644
--- a/src/tasks/gitignore/index.js
+++ b/src/tasks/gitignore/index.js
@@ -3,11 +3,11 @@
 const { lines } = require('mrm-core');
 
 const ignores = [
-	'node_modules',
+	'node_modules/',
 	'.DS_Store',
 	'Thumbs.db',
-	'.idea',
-	'.vscode',
+	'.idea/',
+	'.vscode/',
 	'*.sublime-project',
 	'*.sublime-workspace',
 	'*.log',
Fix(gitignore): Tweak patterns to match only folders