build: Update linters

Change-Id: If959fe0c1b972fe55c6f8cee1c9bb33a52b4265d
This commit is contained in:
Ed Sanders
2023-09-20 18:53:26 +01:00
parent 7ed0649d12
commit bde4b44108
6 changed files with 1117 additions and 621 deletions

3
.eslintignore Normal file
View File

@@ -0,0 +1,3 @@
/vendor/
/lib/
ext.uls.webfonts.repository.js

View File

@@ -2,8 +2,5 @@
"root": true,
"extends": [
"wikimedia/server"
],
"rules": {
"strict": "warn"
}
]
}

View File

@@ -1,3 +1,4 @@
'use strict';
/**
* SVGO Configuration
* Compatible to v3.0.0+

1719
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,14 +8,14 @@
},
"devDependencies": {
"@wikimedia/codex-design-tokens": "0.11.0",
"eslint-config-wikimedia": "0.25.0",
"eslint-config-wikimedia": "0.25.1",
"grunt": "1.6.1",
"grunt-banana-checker": "0.11.0",
"grunt-eslint": "24.0.1",
"grunt-stylelint": "0.18.0",
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0",
"postcss-less": "6.0.0",
"sfnt2woff": "^1.0.1",
"stylelint-config-wikimedia": "0.15.0",
"stylelint-config-wikimedia": "0.16.1",
"svgo": "3.0.2"
},
"eslintIgnore": [

View File

@@ -26,7 +26,7 @@
background-size: contain;
}
/* stylelint-disable indentation, selector-max-id */
/* stylelint-disable stylistic/indentation, selector-max-id */
#pt-uls {
padding-top: 0 !important; // stylelint-disable-line declaration-no-important