MDL-55835 eslint: bump to v3.7.1

1) Bump eslint verson in npm
2) Enable tabs rule introduced in 3.2.0
3) With rules deprecated in 3.3.0 to their replacements
   http://eslint.org/blog/2016/08/eslint-v3.3.0-released
4) Deprecate the use of M.str (fixes MDLSITE-3646) with new
   no-restricted-properties introduced in 3.5.0
5) Fixup no-unused-vars - remove argsIgnorePattern which shouldn't have allowed
   partial matches and turns out to be uncesssary
   (detected because of https://github.com/eslint/eslint/issues/7250 in 3.6.0)
This commit is contained in:
Dan Poltawski 2016-09-01 14:27:11 +01:00
parent d9520bc04e
commit 00c714f05c
4 changed files with 76 additions and 54 deletions

View file

@ -4,7 +4,7 @@
"description": "Moodle",
"devDependencies": {
"async": "1.5.2",
"eslint": "^3.0.1",
"eslint": "3.7.1",
"grunt": "1.0.1",
"grunt-contrib-less": "1.3.0",
"grunt-contrib-uglify": "1.0.1",