Skip to content

Commit

Permalink
update and organize prettier rules
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvfritz committed Mar 1, 2020
1 parent 3243707 commit 90ca711
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
19 changes: 11 additions & 8 deletions .prettierrc.js
@@ -1,14 +1,17 @@
module.exports = {
arrowParens: 'always',
bracketSpacing: true,
endOfLine: 'lf',
htmlWhitespaceSensitivity: 'strict',
jsxBracketSameLine: false,
jsxSingleQuote: true,
printWidth: 80,
tabWidth: 2,
useTabs: false,
proseWrap: 'never',
quoteProps: 'as-needed',
semi: false,
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
bracketSpacing: true,
jsxBracketSameLine: false,
arrowParens: 'always',
proseWrap: 'never',
htmlWhitespaceSensitivity: 'strict',
endOfLine: 'lf',
useTabs: false,
vueIndentScriptAndStyle: false,
}
2 changes: 1 addition & 1 deletion src/components/_base-link.unit.js
Expand Up @@ -6,7 +6,7 @@ const mountBaseLink = (options = {}) => {
RouterLink: {
functional: true,
render(h, { slots, data }) {
return <a data-router-link="true">{slots().default}</a>
return <a data-router-link='true'>{slots().default}</a>
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav-bar-routes.vue
Expand Up @@ -24,7 +24,7 @@ export default {
// root node.
return props.routes.map((route) => (
<BaseLink
tag="li"
tag='li'
key={route.name}
to={route}
exact-active-class={$style.active}
Expand Down

0 comments on commit 90ca711

Please sign in to comment.