From: David Cho-Lerat Date: Thu, 7 Sep 2023 09:43:54 +0000 (+0200) Subject: Update eslint-plugin-local-rules to 2.0.0 X-Git-Tag: 10.3.0.82913~450 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=662f043ea0fe8f5982c056eb544035fa66d5f485;p=sonarqube.git Update eslint-plugin-local-rules to 2.0.0 --- diff --git a/server/sonar-web/design-system/eslint-local-rules b/server/sonar-web/design-system/eslint-local-rules new file mode 120000 index 00000000000..0bfed79e065 --- /dev/null +++ b/server/sonar-web/design-system/eslint-local-rules @@ -0,0 +1 @@ +../eslint-local-rules \ No newline at end of file diff --git a/server/sonar-web/design-system/eslint-local-rules/index.js b/server/sonar-web/design-system/eslint-local-rules/index.js deleted file mode 100644 index b64b1534079..00000000000 --- a/server/sonar-web/design-system/eslint-local-rules/index.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2023 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -module.exports = require('../eslint-local-rules'); diff --git a/server/sonar-web/design-system/package.json b/server/sonar-web/design-system/package.json index e806ce9c4d9..c393022a878 100644 --- a/server/sonar-web/design-system/package.json +++ b/server/sonar-web/design-system/package.json @@ -37,7 +37,7 @@ "eslint": "8.48.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-import": "2.28.1", - "eslint-plugin-local-rules": "1.3.2", + "eslint-plugin-local-rules": "2.0.0", "eslint-plugin-typescript-sort-keys": "2.3.0", "highlight.js": "11.8.0", "highlightjs-apex": "1.2.0", diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index fb39d0597df..fead96d1054 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -89,7 +89,7 @@ "eslint-plugin-jest": "27.2.3", "eslint-plugin-jest-dom": "5.1.0", "eslint-plugin-jsx-a11y": "6.7.1", - "eslint-plugin-local-rules": "1.3.2", + "eslint-plugin-local-rules": "2.0.0", "eslint-plugin-promise": "6.1.1", "eslint-plugin-react": "7.33.2", "eslint-plugin-react-hooks": "4.6.0", diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index 3acdd5a7283..90a69d01022 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -5187,7 +5187,7 @@ __metadata: eslint-plugin-jest: 27.2.3 eslint-plugin-jest-dom: 5.1.0 eslint-plugin-jsx-a11y: 6.7.1 - eslint-plugin-local-rules: 1.3.2 + eslint-plugin-local-rules: 2.0.0 eslint-plugin-promise: 6.1.1 eslint-plugin-react: 7.33.2 eslint-plugin-react-hooks: 4.6.0 @@ -6844,7 +6844,7 @@ __metadata: eslint: 8.48.0 eslint-plugin-header: 3.1.1 eslint-plugin-import: 2.28.1 - eslint-plugin-local-rules: 1.3.2 + eslint-plugin-local-rules: 2.0.0 eslint-plugin-typescript-sort-keys: 2.3.0 highlight.js: 11.8.0 highlightjs-apex: 1.2.0 @@ -7796,10 +7796,10 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-local-rules@npm:1.3.2": - version: 1.3.2 - resolution: "eslint-plugin-local-rules@npm:1.3.2" - checksum: d1d94c0832d7a5e1686c4d685614c407998e7a60318893a405fb8c97c3856b05a8d9479c20ad2799667a59ebfebc4c4f3268528d21d849d2062dee2041b9e909 +"eslint-plugin-local-rules@npm:2.0.0": + version: 2.0.0 + resolution: "eslint-plugin-local-rules@npm:2.0.0" + checksum: 597a052a93de1fe9e9bfc7187db43f8ed66ceaf0e12bb759a931fe02607da42a70d1e1029bef2ee6ac221ad205ab63c18827e375ae5e88061bf7f24325479c11 languageName: node linkType: hard