From eb881d896dfce6f43a86371b00919d3261d6c1e7 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 16 Aug 2023 09:38:09 +0200 Subject: [PATCH] fix label for license quick fixes --- .../editor/src/lib/providers/quickfixes.ts | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/libs/remix-ui/editor/src/lib/providers/quickfixes.ts b/libs/remix-ui/editor/src/lib/providers/quickfixes.ts index 0161513990c..a93834674de 100644 --- a/libs/remix-ui/editor/src/lib/providers/quickfixes.ts +++ b/libs/remix-ui/editor/src/lib/providers/quickfixes.ts @@ -4,55 +4,49 @@ export default { { id: 1.1, nodeType: 'SourceUnit', - title: 'Add open-source license', - message: '// SPDX-License-Identifier: GPL-3.0-only' - }, - { - id: 1.2, - nodeType: 'SourceUnit', title: 'Add non-open-source license', message: '// SPDX-License-Identifier: UNLICENSED' }, { - id: 1.3, + id: 1.2, nodeType: 'SourceUnit', - title: 'Apache-1.1', + title: 'Add Apache-1.1 license', message: '// SPDX-License-Identifier: Apache-1.1' }, { - id: 1.4, + id: 1.3, nodeType: 'SourceUnit', - title: 'Apache-2.0', + title: 'Add Apache-2.0 license', message: '// SPDX-License-Identifier: Apache-2.0' }, { - id: 1.5, + id: 1.4, nodeType: 'SourceUnit', - title: 'MIT', + title: 'Add MIT license', message: '// SPDX-License-Identifier: MIT' }, { - id: 1.6, + id: 1.5, nodeType: 'SourceUnit', - title: 'EPL-1.0 (Eclipse)', + title: 'Add EPL-1.0 (Eclipse) license', message: '// SPDX-License-Identifier: EPL-1.0' }, { - id: 1.7, + id: 1.6, nodeType: 'SourceUnit', - title: 'EPL-2.0 (Eclipse)', + title: 'Add EPL-2.0 (Eclipse) license', message: '// SPDX-License-Identifier: EPL-2.0' }, { - id: 1.8, + id: 1.7, nodeType: 'SourceUnit', - title: 'GPL-3.0-only', + title: 'Add GPL-3.0-only license', message: '// SPDX-License-Identifier: GPL-3.0-only' }, { - id: 1.9, + id: 1.8, nodeType: 'SourceUnit', - title: 'GPL-3.0-or-later', + title: 'Add GPL-3.0-or-later license', message: '// SPDX-License-Identifier: GPL-3.0-or-later' } ],