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
Merge "npm: bump grunt-karma to 3.0.2"
[lhc/web/wiklou.git]
/
Gruntfile.js
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
2592815
..
f3950f6
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
{,on}
',
'!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/',