From a59c1b61b6a8c0e67d7339bfdf52bb8cb58eb8ab Mon Sep 17 00:00:00 2001 From: pmakode-akamai Date: Tue, 26 Nov 2024 14:06:02 +0530 Subject: [PATCH 1/5] Remove recently added camelCase rule --- packages/api-v4/.eslintrc.json | 1 - packages/manager/.eslintrc.cjs | 1 - packages/ui/.eslintrc.json | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/api-v4/.eslintrc.json b/packages/api-v4/.eslintrc.json index aa613f8f952..039685b3d24 100644 --- a/packages/api-v4/.eslintrc.json +++ b/packages/api-v4/.eslintrc.json @@ -49,7 +49,6 @@ "sonarjs/no-redundant-jump": "warn", "sonarjs/no-small-switch": "warn", "no-multiple-empty-lines": "error", - "camelcase": ["warn", { "properties": "always" }], "curly": "warn", "sort-keys": "off", "comma-dangle": "off", diff --git a/packages/manager/.eslintrc.cjs b/packages/manager/.eslintrc.cjs index ae58ca2a7f9..37a8ee55d6c 100644 --- a/packages/manager/.eslintrc.cjs +++ b/packages/manager/.eslintrc.cjs @@ -174,7 +174,6 @@ module.exports = { '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/no-use-before-define': 'off', 'array-callback-return': 'error', - camelcase: ['warn', { properties: 'always' }], 'comma-dangle': 'off', // Prettier and TS both handle and check for this one // radix: Codacy considers it as an error, i put it here to fix it before push curly: 'warn', diff --git a/packages/ui/.eslintrc.json b/packages/ui/.eslintrc.json index 58206a5a371..2fa0e8e7361 100644 --- a/packages/ui/.eslintrc.json +++ b/packages/ui/.eslintrc.json @@ -32,7 +32,6 @@ "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/interface-name-prefix": "off", "array-callback-return": "error", - "camelcase": ["warn", { "properties": "always" }], "comma-dangle": "off", "curly": "warn", "no-unused-vars": [ From 12dd075a916d4adeb205d95e0653463e8bfaf614 Mon Sep 17 00:00:00 2001 From: pmakode-akamai Date: Tue, 26 Nov 2024 14:17:57 +0530 Subject: [PATCH 2/5] Added changeset: Recently added camelCase rule --- packages/api-v4/.changeset/pr-11330-removed-1732610877556.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/api-v4/.changeset/pr-11330-removed-1732610877556.md diff --git a/packages/api-v4/.changeset/pr-11330-removed-1732610877556.md b/packages/api-v4/.changeset/pr-11330-removed-1732610877556.md new file mode 100644 index 00000000000..8a2ef67f05a --- /dev/null +++ b/packages/api-v4/.changeset/pr-11330-removed-1732610877556.md @@ -0,0 +1,5 @@ +--- +"@linode/api-v4": Removed +--- + +Recently added camelCase rule ([#11330](https://github.com/linode/manager/pull/11330)) From 9de06ddd8f278db4d5b5d8dd39f99d549adf6ea0 Mon Sep 17 00:00:00 2001 From: pmakode-akamai Date: Tue, 26 Nov 2024 14:18:21 +0530 Subject: [PATCH 3/5] Added changeset: Recently added camelCase rule --- .../manager/.changeset/pr-11330-removed-1732610901455.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/manager/.changeset/pr-11330-removed-1732610901455.md diff --git a/packages/manager/.changeset/pr-11330-removed-1732610901455.md b/packages/manager/.changeset/pr-11330-removed-1732610901455.md new file mode 100644 index 00000000000..757e92d81ae --- /dev/null +++ b/packages/manager/.changeset/pr-11330-removed-1732610901455.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Removed +--- + +Recently added camelCase rule ([#11330](https://github.com/linode/manager/pull/11330)) From fea86fb401e0f46e6281445a37df404a3d9d622b Mon Sep 17 00:00:00 2001 From: pmakode-akamai Date: Tue, 26 Nov 2024 14:18:45 +0530 Subject: [PATCH 4/5] Added changeset: Recently added camelCase rule --- packages/ui/.changeset/pr-11330-removed-1732610924875.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/ui/.changeset/pr-11330-removed-1732610924875.md diff --git a/packages/ui/.changeset/pr-11330-removed-1732610924875.md b/packages/ui/.changeset/pr-11330-removed-1732610924875.md new file mode 100644 index 00000000000..36f689b43a9 --- /dev/null +++ b/packages/ui/.changeset/pr-11330-removed-1732610924875.md @@ -0,0 +1,5 @@ +--- +"@linode/ui": Removed +--- + +Recently added camelCase rule ([#11330](https://github.com/linode/manager/pull/11330)) From dca7616fb8d4b25e009b1c72f4acb5a816fbc86b Mon Sep 17 00:00:00 2001 From: pmakode-akamai Date: Wed, 27 Nov 2024 13:05:55 +0530 Subject: [PATCH 5/5] Reverting camelCase rule for ui package --- packages/ui/.changeset/pr-11330-removed-1732610924875.md | 5 ----- packages/ui/.eslintrc.json | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 packages/ui/.changeset/pr-11330-removed-1732610924875.md diff --git a/packages/ui/.changeset/pr-11330-removed-1732610924875.md b/packages/ui/.changeset/pr-11330-removed-1732610924875.md deleted file mode 100644 index 36f689b43a9..00000000000 --- a/packages/ui/.changeset/pr-11330-removed-1732610924875.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@linode/ui": Removed ---- - -Recently added camelCase rule ([#11330](https://github.com/linode/manager/pull/11330)) diff --git a/packages/ui/.eslintrc.json b/packages/ui/.eslintrc.json index 2fa0e8e7361..58206a5a371 100644 --- a/packages/ui/.eslintrc.json +++ b/packages/ui/.eslintrc.json @@ -32,6 +32,7 @@ "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/interface-name-prefix": "off", "array-callback-return": "error", + "camelcase": ["warn", { "properties": "always" }], "comma-dangle": "off", "curly": "warn", "no-unused-vars": [