Skip to content

Commit

Permalink
MDL-66265 javascript: Add jshint ignore for ES6 files in root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Sep 3, 2019
1 parent f8e02a3 commit 98a450e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -203,7 +203,7 @@
}
},
{
files: ["**/amd/src/*.js"],
files: ["**/amd/src/*.js", "*.js"],
// Check AMD with some slightly stricter rules.
rules: {
'no-unused-vars': 'error',
Expand Down
1 change: 1 addition & 0 deletions .jshintignore
@@ -1 +1,2 @@
**/amd/**
/*.js
1 change: 1 addition & 0 deletions Gruntfile.js
Expand Up @@ -24,6 +24,7 @@
* Grunt configuration
*/

/* eslint-env node */
module.exports = function(grunt) {
var path = require('path'),
tasks = {},
Expand Down

0 comments on commit 98a450e

Please sign in to comment.