MDL-59761 eslint: support glob-based configuration
authorDan Poltawski <dan@moodle.com>
Tue, 8 Aug 2017 13:27:55 +0000 (14:27 +0100)
committerDan Poltawski <dan@moodle.com>
Wed, 6 Sep 2017 07:53:50 +0000 (08:53 +0100)
commit6f601313f048a762dd05bbd142e40f6b2fa7b09e
treeb4b2b577bb90a0bcf3dd29ae2cf6f38aa2baf632
parent9702503f6bc747f0275179830daa95c2007849fc
MDL-59761 eslint: support glob-based configuration

Since ESlint 4.1.0 [1], it's possible to support glob-based
configuration, this means we can move glob configuration out of grunt
and into the config file, which means tools will respect the glob rules
now too. :)

[1] http://eslint.org/blog/2017/06/eslint-v4.1.0-released
.eslintrc
Gruntfile.js