mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-66265 javascript: Add jshint ignore for ES6 files in root dir
This commit is contained in:
parent
6fd3764d99
commit
27829f24e1
3 changed files with 3 additions and 1 deletions
|
@ -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',
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
**/amd/**
|
||||
/*.js
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
* Grunt configuration
|
||||
*/
|
||||
|
||||
/* eslint-env node */
|
||||
module.exports = function(grunt) {
|
||||
var path = require('path'),
|
||||
tasks = {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue