refactor to make adding future types simplier
refactor to make adding future types simplier

alexkuz/babel-eslint,achicu/babel-eslint,babel/babel-eslint,monstrs-forks/babel-eslint,bryanrsmith/babel-eslint,hzoo/babel-eslint