Update linters

* Update eslint and stylelint config
* Fix Gruntfile.js to actually run stylelint
This commit is contained in:
Ed Sanders
2019-11-12 15:06:40 +00:00
committed by Niklas Laxström
parent c4f0fdab15
commit d53beca719
15 changed files with 737 additions and 1308 deletions

6
scripts/.eslintrc.json Normal file
View File

@@ -0,0 +1,6 @@
{
"root": true,
"extends": [
"wikimedia/server"
]
}

View File

@@ -1,4 +1,4 @@
var through = require( 'through' ); // eslint-disable-line no-implicit-globals
var through = require( 'through' );
module.exports = function () {
var data, end, write;