Bug 1786290 - Update @microsoft/eslint-plugin-sdl to version 0.2.2 r=freddyb,Standard8

Differential Revision: https://phabricator.services.mozilla.com/D193423
This commit is contained in:
Malte Juergens 2023-11-20 09:27:48 +00:00
parent 50f811aef5
commit c25e2104e7
7 changed files with 864 additions and 2360 deletions

1520
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
"@babel/eslint-parser": "7.21.3",
"@babel/eslint-plugin": "7.19.1",
"@babel/plugin-syntax-jsx": "7.21.4",
"@microsoft/eslint-plugin-sdl": "github:mozfreddyb/eslint-plugin-sdl#17b22cd527682108af7a1a4edacf69cb7a9b4a06",
"@microsoft/eslint-plugin-sdl": "0.2.2",
"eslint": "8.38.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-eslint-plugin": "5.0.8",

View File

@ -1,9 +1,9 @@
[
{
"filename": "eslint-plugin-mozilla.tar.gz",
"size": 9793999,
"size": 8169616,
"algorithm": "sha512",
"digest": "0ed240f69a57b9cc4964871435b2f5eadf1f366170f2015053151b3f1b05c010deae350aedd15af23fd8e2a33186d250f5025368b26289a7add212a917eb1947",
"digest": "cd06349e3f61b41dcdf4f11c5e10c0f78c16eb68bd3473381b00faf63c92c28cb8c282f5ce66cbef2f655a974682b53c37562bb8b2fb60ee082eba782d94de0b",
"unpack": true,
"visibility": "public"
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "eslint-plugin-mozilla",
"version": "3.3.1",
"version": "3.3.2",
"description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
"keywords": [
"eslint",
@ -34,7 +34,7 @@
"mocha": "10.2.0"
},
"peerDependencies": {
"@microsoft/eslint-plugin-sdl": "github:mozfreddyb/eslint-plugin-sdl#17b22cd527682108af7a1a4edacf69cb7a9b4a06",
"@microsoft/eslint-plugin-sdl": "^0.2.2",
"eslint": "^7.23.0 || ^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-fetch-options": "^0.0.5",

View File

@ -1,9 +1,9 @@
[
{
"filename": "eslint.tar.gz",
"size": 26800978,
"size": 25395561,
"algorithm": "sha512",
"digest": "2586e99d21a9921c075657ad0712140a494376576da4cfbbe5b3b63aa18dcbc1aa6f41f49e2f7d422990e983f6b2f92703134f4f2e143df74a15eb28d11dd0d3",
"digest": "b4258b0ee324f5f01cb620f2e619a7293d6542811a88cd17a090fcdaec4596c752220e1a4a67ff03e8a333507d95a0dc09054263ff706a7f2d1e6f1a1309f3b1",
"unpack": true,
"visibility": "public"
}

View File

@ -289,14 +289,6 @@ def eslint_module_needs_setup():
has_issues = True
continue
# For @microsoft/eslint-plugin-sdl we are loading a static version as
# long that PR is not merged into the master branch. Bug 1786290
if (name == "@microsoft/eslint-plugin-sdl") and (
version_range
== "github:mozfreddyb/eslint-plugin-sdl#17b22cd527682108af7a1a4edacf69cb7a9b4a06"
):
continue
if not version_in_range(data["version"], version_range):
print("%s v%s should be v%s." % (name, data["version"], version_range))
has_issues = True