Skip to content

Commit

Permalink
fix(gallery-item): missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Aug 23, 2021
1 parent cad620a commit 02fe086
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/components/rmrk/Gallery/PriceChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ export default class PriceChart extends Vue {
formatter: (params: { data: string[] }) => {
const date = this.parseDate(
params.data[0] as unknown as Date
)
const price = params.data[1] + ' KSM'
return '<center>' + date + '<br>' + price + '</center>'
);
const price = params.data[1] + ' KSM';
return '<center>' + date + '<br>' + price + '</center>';
},
backgroundColor: '#363636',
textStyle: {
Expand Down
10 changes: 3 additions & 7 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"extends": ["tslint:recommended"],
"linterOptions": {
"exclude": [
"node_modules/**"
]
"exclude": ["node_modules/**"]
},
"rules": {
"indent": [true, "tab", 1],
Expand All @@ -21,6 +17,6 @@
"no-string-literal": false,
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-empty-interface": false,
"semicolon": [true, "always"]
"semicolon": [true, "always"]
}
}

0 comments on commit 02fe086

Please sign in to comment.