Skip to content

Commit

Permalink
style: added prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed May 3, 2021
1 parent 59994a0 commit 354f1a7
Show file tree
Hide file tree
Showing 19 changed files with 1,344 additions and 1,044 deletions.
9 changes: 2 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@ module.exports = {
es2021: true,
node: true,
},
extends: [
'plugin:vue/essential',
'airbnb-base',
],
extends: ['plugin:vue/essential', 'airbnb-base', 'prettier'],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
plugins: [
'vue',
],
plugins: ['vue', 'prettier'],
rules: {
'max-len': ['off'],
},
Expand Down
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"arrowParens": "avoid",
"bracketSpacing": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
Loading

0 comments on commit 354f1a7

Please sign in to comment.