mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
02e77afcd1
commit
c6dce043a7
406 files changed
+1590
-1580
No files matched your search
@@ -35,7 +35,7 @@ describe("SecretDetails tests", () => {
|
||||
metadata: {
|
||||
name: "test",
|
||||
resourceVersion: "1",
|
||||
uid: "uid"
|
||||
uid: "uid",
|
||||
},
|
||||
data: {
|
||||
foobar: "",
|
||||
|
||||
@@ -81,7 +81,7 @@ export class AddSecretDialog extends React.Component<Props> {
|
||||
[SecretType.ServiceAccountToken]: {
|
||||
annotations: [
|
||||
{ key: "kubernetes.io/service-account.name", required: true },
|
||||
{ key: "kubernetes.io/service-account.uid", required: true }
|
||||
{ key: "kubernetes.io/service-account.uid", required: true },
|
||||
],
|
||||
},
|
||||
};
|
||||
@@ -127,7 +127,7 @@ export class AddSecretDialog extends React.Component<Props> {
|
||||
namespace,
|
||||
annotations: this.getDataFromFields(annotations),
|
||||
labels: this.getDataFromFields(labels),
|
||||
} as KubeObjectMetadata
|
||||
} as KubeObjectMetadata,
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
@@ -59,7 +59,7 @@ export class SecretDetails extends React.Component<Props> {
|
||||
this.data = secret.data;
|
||||
this.revealSecret.clear();
|
||||
}
|
||||
})
|
||||
}),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ export class Secrets extends React.Component<Props> {
|
||||
]}
|
||||
addRemoveButtons={{
|
||||
onAdd: () => AddSecretDialog.open(),
|
||||
addTooltip: "Create new Secret"
|
||||
addTooltip: "Create new Secret",
|
||||
}}
|
||||
/>
|
||||
<AddSecretDialog/>
|
||||
|
||||
Reference in new issue
Block a user