2018-09-26 14:34:24 +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-06-25 02:09:12 +03:00
|
|
|
module.exports = function (grunt) {
|
2018-09-26 14:34:24 +03:00
|
|
|
grunt.config('word', {
|
|
|
|
unsafeExplicitIV: {
|
|
|
|
options: {
|
2019-06-25 02:09:12 +03:00
|
|
|
banList: ['unsafeExplicitIV'],
|
2018-09-26 14:34:24 +03:00
|
|
|
},
|
2019-06-25 02:09:12 +03:00
|
|
|
src: [
|
|
|
|
'app/scripts/**/*.js',
|
|
|
|
'!app/scripts/lib/crypto/a256gcm.js',
|
|
|
|
'!app/scripts/lib/crypto/recovery-keys.js',
|
|
|
|
],
|
2018-10-29 23:08:15 +03:00
|
|
|
},
|
|
|
|
'en-US': {
|
|
|
|
options: {
|
2019-06-25 02:09:12 +03:00
|
|
|
banList: ['en-us', 'en-US', 'en_us', 'en_US'],
|
2018-10-29 23:08:15 +03:00
|
|
|
},
|
2019-06-25 02:09:12 +03:00
|
|
|
src: ['app/scripts/**/*.js'],
|
|
|
|
},
|
2018-09-26 14:34:24 +03:00
|
|
|
});
|
|
|
|
};
|