Skip to content

Commit

Permalink
Update prettier settings; run formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Evans committed Apr 13, 2020
1 parent cac39af commit 568b328
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": false,
"arrowParens": "always"
"bracketSpacing": false
}
11 changes: 5 additions & 6 deletions my-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {LitElement, html, css} from 'lit-element';
*/
export class MyElement extends LitElement {
static get styles() {
return css`
return css`
:host {
display: block;
border: solid 1px gray;
Expand All @@ -34,7 +34,6 @@ export class MyElement extends LitElement {

static get properties() {
return {

/**
* The name to say "Hello" to.
*/
Expand All @@ -43,10 +42,10 @@ export class MyElement extends LitElement {
/**
* The number of times the button has been clicked.
*/
count: {type: Number}
}
count: {type: Number},
};
}

constructor() {
super();
this.name = 'World';
Expand All @@ -67,5 +66,5 @@ export class MyElement extends LitElement {
this.count++;
}
}

window.customElements.define('my-element', MyElement);

0 comments on commit 568b328

Please sign in to comment.