Skip to content

Commit

Permalink
linter updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jbibla committed Mar 8, 2018
1 parent 8991c1b commit dfe698d
Show file tree
Hide file tree
Showing 4 changed files with 1,487 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// unify spacing in objects
'object-curly-spacing': ["error", "always"],
'object-curly-newline': ["error", {
'object-curly-newline': ["error", {
"ObjectExpression": { "multiline": true, "minProperties": 3 },
"ImportDeclaration": "never"
}]
Expand Down
24 changes: 18 additions & 6 deletions app/src/renderer/components/staking/PageDelegates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,24 @@ export default {
property: 'shares',
order: 'desc',
properties: [
{ title: 'Name', value: 'small_moniker', class: 'name' },
{ title: '% of Vote', value: 'shares', class: 'percent_of_vote' },
{ title: 'Total Votes', value: 'voting_power', class: 'voting_power' },
{ title: 'Your Votes', value: 'your_votes', class: 'your-votes' },
{ title: 'Status', value: 'isValidator', class: 'status' },
{ title: '', value: '', class: 'action hidden' }
{
title: 'Name', value: 'small_moniker', class: 'name'
},
{
title: '% of Vote', value: 'shares', class: 'percent_of_vote'
},
{
title: 'Total Votes', value: 'voting_power', class: 'voting_power'
},
{
title: 'Your Votes', value: 'your_votes', class: 'your-votes'
},
{
title: 'Status', value: 'isValidator', class: 'status'
},
{
title: '', value: '', class: 'action hidden'
}
]
}
}),
Expand Down
Loading

0 comments on commit dfe698d

Please sign in to comment.