Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Refactoring for Vue 3 and TypeScript 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Jun 9, 2021
1 parent 26c989d commit e0a9c12
Show file tree
Hide file tree
Showing 30 changed files with 37,162 additions and 10,285 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
15 changes: 8 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
# editorconfig.org
root = true

# Unix-style newlines with a newline ending every file
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
trim_trailing_whitespace=true
indent_style=space
indent_size=2

[*.md]
trim_trailing_whitespace = false
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended',
'@vue/prettier',
'@vue/prettier/@typescript-eslint',
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
},
}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.DS_Store
node_modules

# env files
.env
# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
Expand Down
38 changes: 16 additions & 22 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
# Dist
dist/

# node modules
.DS_Store
node_modules
package.json
package-lock.json
/dist

# MacOS desktop services store
.DS_Store
# local env files
.env.local
.env.*.local

# Log files
*.log

# Map files
*.map
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editors
# Editor directories and files
.idea
.vscode

# VuePress temp directory
.temp

# Source Control
.github

# Secure
.env
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"vueIndentScriptAndStyle": true
"vueIndentScriptAndStyle": false
}
Loading

0 comments on commit e0a9c12

Please sign in to comment.