dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Session: Remove mcrypt support, dropped from PHP 7.2
[lhc/web/wiklou.git]
/
Gruntfile.js
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
2592815
..
9615330
100644
(file)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-9,7
+9,6
@@
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-contrib-copy' );
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-contrib-copy' );
grunt.loadNpmTasks( 'grunt-eslint' );
- grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-karma' );
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.loadNpmTasks( 'grunt-svgmin' );
grunt.loadNpmTasks( 'grunt-karma' );
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.loadNpmTasks( 'grunt-svgmin' );
@@
-22,10
+21,12
@@
module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
options: {
grunt.initConfig( {
eslint: {
options: {
- reportUnusedDisableDirectives: true
+ reportUnusedDisableDirectives: true,
+ extensions: [ '.js', '.json' ],
+ cache: true
},
all: [
},
all: [
- '**/*.
js
',
+ '**/*.
{js,json}
',
'!docs/**',
'!node_modules/**',
'!resources/lib/**',
'!docs/**',
'!node_modules/**',
'!resources/lib/**',
@@
-35,18
+36,13
@@
module.exports = function ( grunt ) {
'!tests/coverage/**',
'!vendor/**',
// Explicitly say "**/*.js" here in case of symlinks
'!tests/coverage/**',
'!vendor/**',
// Explicitly say "**/*.js" here in case of symlinks
- '!extensions/**/*.js',
- '!skins/**/*.js'
- ]
- },
- jsonlint: {
- all: [
- '**/*.json',
- '!{docs/js,extensions,node_modules,skins,vendor}/**'
+ '!extensions/**/*.js{,on}',
+ '!skins/**/*.js{,on}'
]
},
banana: {
options: {
]
},
banana: {
options: {
+ requireLowerCase: false,
disallowBlankTranslations: false
},
core: 'languages/i18n/',
disallowBlankTranslations: false
},
core: 'languages/i18n/',
@@
-121,7
+117,7
@@
module.exports = function ( grunt ) {
included: true,
served: false
} ],
included: true,
served: false
} ],
- logLevel:
'DEBUG'
,
+ logLevel:
( process.env.ZUUL_PROJECT ? 'DEBUG' : 'INFO' )
,
frameworks: [ 'qunit' ],
reporters: [ 'mocha' ],
singleRun: true,
frameworks: [ 'qunit' ],
reporters: [ 'mocha' ],
singleRun: true,