Skip to content

Commit

Permalink
fix: disable eslint config for h render
Browse files Browse the repository at this point in the history
  • Loading branch information
rohmanhm committed Jan 16, 2020
1 parent cf12b66 commit 1e7ade0
Showing 1 changed file with 9 additions and 8 deletions.
@@ -1,32 +1,33 @@
import { Component, Prop, h } from '@stencil/core';
import { format } from '../../utils/utils';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { Component, Prop, h } from '@stencil/core'
import { format } from '../../utils/utils'

@Component({
tag: 'my-component',
styleUrl: 'my-component.css',
shadow: true
shadow: true,
})
export class MyComponent {
/**
* The first name
*/
@Prop() first: string;
@Prop() first: string

/**
* The middle name
*/
@Prop() middle: string;
@Prop() middle: string

/**
* The last name
*/
@Prop() last: string;
@Prop() last: string

private getText(): string {
return format(this.first, this.middle, this.last);
return format(this.first, this.middle, this.last)
}

render() {
return <div>Hello, World! I'm {this.getText()}</div>;
return <div>Hello, World! I'm {this.getText()}</div>
}
}

0 comments on commit 1e7ade0

Please sign in to comment.