Skip to content

Instantly share code, notes, and snippets.

@kyrcha
Last active March 19, 2019 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyrcha/200dfd0c552489f013f8a814410d8339 to your computer and use it in GitHub Desktop.
Save kyrcha/200dfd0c552489f013f8a814410d8339 to your computer and use it in GitHub Desktop.
Configure your .cyclopt.json to ignore files and folders. This is what we use as our basis. Supports minimatch patterns https://github.com/isaacs/minimatch#usage
{
"ignore": [
"**/deps/**",
"**/node_modules/**",
"**/thirdparty/**",
"**/third_party/**",
"**/bower_components/**",
"**/vendor/**",
"**/vendors/**",
"**/**-min-**",
"**/**-min.**",
"**/**.min.**",
"**/**jquery.?(ui|effects)-*.*.?(*).?(cs|j)s",
"**/**jquery-*.*.?(*).?(cs|j)s",
"**/prototype?(*).js",
"**/mootools*.*.*.js",
"**/dojo.js",
"**/MochiKit.js",
"**/yahoo-*.js",
"**/yui*.js",
"**/ckeditor*.js",
"**/tiny_mce*.js",
"**/tiny_mce/?(langs|plugins|themes|utils)/**",
"**/MathJax/**",
"**/shBrush*.js",
"**/shCore.js",
"**/shLegacy.js",
"**/modernizr.custom.?(*).js",
"**/knockout-*.*.*.debug.js",
"**/extjs/*.js",
"**/extjs/*.xml",
"**/extjs/*.txt",
"**/extjs/*.html",
"**/extjs/*.properties",
"**/extjs/.sencha",
"**/extjs/docs/**",
"**/extjs/builds/**",
"**/extjs/cmd/**",
"**/extjs/examples/**",
"**/extjs/locale/**",
"**/extjs/packages/**",
"**/extjs/plugins/**",
"**/extjs/resources/**",
"**/extjs/src/**",
"**/extjs/welcome/**",
"**/*bootstrap*.js",
"**/*jquery*.js",
"**/test*/**/*",
"**/grunt/**/*",
"**/example*/**/*",
"**/[Gg]ulp[Ff]ile.*",
"**/[Gg]runt[Ff]ile.*",
"**/*spec.js",
"**/*spec*/*",
"**/dist/**/*",
"**/build/**/*",
"**/*benchmark*/**/*",
"**/*dist*/**/*",
"**/*plugins*/**/*",
"**/*build*/**/*",
"**/*vendors*/**/*",
"**/*node_modules*/**/*",
"**/*bower_components*/**/*",
"**/*build.js",
"**/*bundle.js",
"**/*tests?.js",
"**/*webpack*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment