Skip to content

Instantly share code, notes, and snippets.

@bigandy
Created February 18, 2016 09:56
Show Gist options
  • Save bigandy/1e86436d28064253ee2e to your computer and use it in GitHub Desktop.
Save bigandy/1e86436d28064253ee2e to your computer and use it in GitHub Desktop.
Sublime Project Snippet that adds default file and folder ignore arrays
<snippet>
<content><![CDATA[
"folder_exclude_patterns": [
"node_modules",
"bower_components",
],
"file_exclude_patterns": [
".babelrc",
".eslintrc*",
"config.json",
"*.sublime-*",
".editorconfig",
".gitignore",
".js*",
".scss-lint.yml",
"code.ruleset.xml",
"Gruntfile.js",
"gulpfile.js",
"*LICENSE*",
"README.md",
"robots.txt",
"humans.txt",
"package.json",
"style.css*",
"bower.json",
".bowerrc",
".gitattributes",
"favicon.ico",
".htaccess",
"screenshot.png",
"*.rb",
"*.yml",
"CNAME"
]
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>proj</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment