mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-23 14:07:01 +00:00
build: Update devDependencies
Change-Id: Id4d2eaaa8a5faa567e7f978eb21921b9644c7500
This commit is contained in:
parent
ded00be15b
commit
0345688a4f
|
@ -1,11 +1,6 @@
|
||||||
{
|
{
|
||||||
"root": true,
|
"root": true,
|
||||||
"extends": [
|
"extends": [
|
||||||
"wikimedia/client-es5",
|
"wikimedia/server"
|
||||||
"wikimedia/jquery",
|
]
|
||||||
"wikimedia/mediawiki"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"max-len": "off"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
/*!
|
'use strict';
|
||||||
* Grunt file
|
|
||||||
*
|
|
||||||
* @package SyntaxHighlight_GeSHi
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* eslint-env node, es6 */
|
|
||||||
module.exports = function ( grunt ) {
|
module.exports = function ( grunt ) {
|
||||||
var conf = grunt.file.readJSON( 'extension.json' );
|
const conf = grunt.file.readJSON( 'extension.json' );
|
||||||
|
|
||||||
grunt.loadNpmTasks( 'grunt-banana-checker' );
|
grunt.loadNpmTasks( 'grunt-banana-checker' );
|
||||||
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
||||||
|
|
12
modules/.eslintrc.json
Normal file
12
modules/.eslintrc.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"root": true,
|
||||||
|
"extends": [
|
||||||
|
"wikimedia/client-es5",
|
||||||
|
"wikimedia/jquery",
|
||||||
|
"wikimedia/mediawiki",
|
||||||
|
"wikimedia/jsduck"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"max-len": "off"
|
||||||
|
}
|
||||||
|
}
|
7728
package-lock.json
generated
7728
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -4,12 +4,12 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.20.0",
|
"eslint-config-wikimedia": "0.22.1",
|
||||||
"grunt": "1.4.0",
|
"grunt": "1.4.1",
|
||||||
"grunt-banana-checker": "0.9.0",
|
"grunt-banana-checker": "0.9.0",
|
||||||
"grunt-contrib-watch": "1.1.0",
|
"grunt-contrib-watch": "1.1.0",
|
||||||
"grunt-eslint": "23.0.0",
|
"grunt-eslint": "24.0.0",
|
||||||
"grunt-stylelint": "0.16.0",
|
"grunt-stylelint": "0.17.0",
|
||||||
"stylelint-config-wikimedia": "0.11.1"
|
"stylelint-config-wikimedia": "0.12.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue