2015-03-03 03:05:36 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2019-03-25 16:55:37 +03:00
|
|
|
'use strict';
|
2015-03-03 03:05:36 +03:00
|
|
|
|
2017-09-19 16:00:37 +03:00
|
|
|
module.exports = function (grunt) {
|
2015-06-19 02:12:42 +03:00
|
|
|
grunt.config('eslint', {
|
2017-08-15 20:54:13 +03:00
|
|
|
app: {
|
|
|
|
src: [
|
2018-12-12 22:32:31 +03:00
|
|
|
'{,bin/,config/,grunttasks/,lib/**/,scripts/**/,test/**/}*.js',
|
|
|
|
'{fxa-oauth-server/bin/**/,fxa-oauth-server/lib/**/,fxa-oauth-server/test/**/,fxa-oauth-server/scripts/**/}*.js'
|
2017-08-15 20:54:13 +03:00
|
|
|
]
|
|
|
|
}
|
2019-03-25 16:55:37 +03:00
|
|
|
});
|
|
|
|
grunt.registerTask('quicklint', 'lint the modified files', 'newer:eslint');
|
|
|
|
};
|