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
@@ -40,7 +40,7 @@ const dummyReplicaSet: ReplicaSet = {
|
||||
spec: {
|
||||
replicas: 1,
|
||||
selector: {
|
||||
matchLabels: { "label": "label" }
|
||||
matchLabels: { "label": "label" },
|
||||
},
|
||||
template: {
|
||||
metadata: {
|
||||
@@ -115,7 +115,7 @@ describe("<ReplicaSetScaleDialog />", () => {
|
||||
|
||||
beforeEach(() => {
|
||||
replicaSetApi = new ReplicaSetApi({
|
||||
objectConstructor: ReplicaSet
|
||||
objectConstructor: ReplicaSet,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ const dialogState = observable.object({
|
||||
@observer
|
||||
export class ReplicaSetScaleDialog extends Component<Props> {
|
||||
static defaultProps = {
|
||||
replicaSetApi
|
||||
replicaSetApi,
|
||||
};
|
||||
|
||||
@observable ready = false;
|
||||
|
||||
@@ -63,7 +63,7 @@ export class ReplicaSetStore extends KubeObjectStore<ReplicaSet> {
|
||||
|
||||
getReplicaSetsByOwner(deployment: Deployment) {
|
||||
return this.items.filter(replicaSet =>
|
||||
!!replicaSet.getOwnerRefs().find(owner => owner.uid === deployment.getId())
|
||||
!!replicaSet.getOwnerRefs().find(owner => owner.uid === deployment.getId()),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user