Skip to content

Commit

Permalink
chore: Add custom Prettier rules
Browse files Browse the repository at this point in the history
  • Loading branch information
novellac committed Mar 3, 2023
1 parent f38822c commit 9aae0d7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-prettier'
'@vue/eslint-config-prettier',
],
parserOptions: {
ecmaVersion: 'latest'
}
ecmaVersion: 'latest',
},
}
7 changes: 6 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{}
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
4 changes: 2 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx,vue}"],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx,vue}'],
theme: {
extend: {},
},
plugins: [],
};
}
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
'@': fileURLToPath(new URL('./src/', import.meta.url)),
},
},
})

1 comment on commit 9aae0d7

@vercel
Copy link

@vercel vercel bot commented on 9aae0d7 Mar 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.