fix foodcritic errors

foodcritic does not recognize the 'inherits' attribute for directory, which is valid (only for windows). this needs to be patched in foodcritic's end