javascript - JSCS Exclude folders recursively but not some sub-folders -


i started apply jscs project, project has existing source code, don't want apply all, new code write moment , when make changes existing files

i'm using exclusion feature on configuration

"jscsconfig": {     "preset": "airbnb",     "excludefiles": [       "foldera/**",       "node_modules/**",       "folderb/**",       "folderc/**",       "folderd/**"     ]   } 

but how can exclude subfolders folder except want

e.g. want exclude folderd recursively except folderd/subfolder2

folderd/   file1.js   file2.js   subfolder1/   subfolder2/     file3.js     file4.js   subfolder3/ 


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -