diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5d12634 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index 37f7608..b18c99a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,87 +1,4 @@ -.editorconfig -.prettierrc -jsconfig.json -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file .env - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# nuxt.js build output .nuxt - -# Nuxt generate +node_modules/ dist - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless - -# IDE / Editor -.idea -.editorconfig - -# Service worker -sw.* - -# Mac OSX -.DS_Store - -# Vim swap files -*.swp diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..5016f7d --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "semi": true, + "singleQuote": false, + "printWidth": 120 +} diff --git a/components/PageForm.vue b/components/PageForm.vue index 95c15a2..bfc5c10 100644 --- a/components/PageForm.vue +++ b/components/PageForm.vue @@ -1,7 +1,7 @@