Skip to content

Commit f19e566

Browse files
committed
first version of article code..
0 parents  commit f19e566

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3795
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*.{js,jsx,ts,tsx,vue}]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
# Tab indentation (no size specified)
16+
[Makefile]
17+
indent_style = tab

.env_default

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# define vue variables
2+
VITE_API_URL=http://127.0.0.1:8080/api/
3+
VITE_BACKEND_URL=http://127.0.0.1:5000/
4+
VITE_APP_NAME='Error Handler®'
5+
VITE_APP_ANALITYCS=

.eslintignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.docker
2+
.github
3+
.husky
4+
.idea
5+
.local
6+
.vscode
7+
*.md
8+
*.sh
9+
*.ttf
10+
*.woff
11+
/bin
12+
/dist/
13+
/docs
14+
/node_modules/
15+
/public
16+
/tests/unit/coverage/
17+
dist
18+
Dockerfile
19+
node_modules

.eslintrc.js

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
'vue/setup-compiler-macros': true,
6+
},
7+
extends: [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/recommended',
10+
'plugin:vue/vue3-recommended',
11+
'@vue/prettier',
12+
],
13+
parser: 'vue-eslint-parser',
14+
parserOptions: {
15+
sourceType: 'module',
16+
ecmaVersion: 'latest',
17+
parser: '@typescript-eslint/parser',
18+
},
19+
plugins: ['simple-import-sort'],
20+
rules: {
21+
'no-console': 'off',
22+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
23+
'vue/script-indent': ['error', 2, { baseIndent: 0 }],
24+
'vue/no-multiple-template-root': 0,
25+
'vue/multi-word-component-names': 'off',
26+
'simple-import-sort/exports': 'error',
27+
'simple-import-sort/imports': 'error',
28+
'@typescript-eslint/explicit-module-boundary-types': 'off', // setup()
29+
'@typescript-eslint/ban-types': 'off',
30+
'@typescript-eslint/no-explicit-any': 'off',
31+
'@typescript-eslint/ban-ts-comment': 'off',
32+
'@typescript-eslint/no-empty-function': 'off',
33+
'@typescript-eslint/no-unused-vars': [
34+
'error',
35+
{
36+
argsIgnorePattern: '^_',
37+
varsIgnorePattern: '^_',
38+
},
39+
],
40+
'no-unused-vars': [
41+
'error',
42+
{
43+
argsIgnorePattern: '^_',
44+
varsIgnorePattern: '^_',
45+
},
46+
],
47+
},
48+
ignorePatterns: ['**/*.html'],
49+
}

.gitignore

Lines changed: 277 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,277 @@
1+
2+
# Created by https://www.toptal.com/developers/gitignore/api/node,visualstudiocode,sublimetext,macos,linux,windows,vue
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=node,visualstudiocode,sublimetext,macos,linux,windows,vue
4+
5+
### Linux ###
6+
*~
7+
8+
# temporary files which can be created if a process still has a handle open of a deleted file
9+
.fuse_hidden*
10+
11+
# KDE directory preferences
12+
.directory
13+
14+
# Linux trash folder which might appear on any partition or disk
15+
.Trash-*
16+
17+
# .nfs files are created when an open file is removed but is still being accessed
18+
.nfs*
19+
20+
### macOS ###
21+
# General
22+
.DS_Store
23+
.AppleDouble
24+
.LSOverride
25+
26+
# Icon must end with two \r
27+
Icon
28+
29+
30+
# Thumbnails
31+
._*
32+
33+
# Files that might appear in the root of a volume
34+
.DocumentRevisions-V100
35+
.fseventsd
36+
.Spotlight-V100
37+
.TemporaryItems
38+
.Trashes
39+
.VolumeIcon.icns
40+
.com.apple.timemachine.donotpresent
41+
42+
# Directories potentially created on remote AFP share
43+
.AppleDB
44+
.AppleDesktop
45+
Network Trash Folder
46+
Temporary Items
47+
.apdisk
48+
49+
### Node ###
50+
# Logs
51+
logs
52+
*.log
53+
npm-debug.log*
54+
yarn-debug.log*
55+
yarn-error.log*
56+
lerna-debug.log*
57+
.pnpm-debug.log*
58+
59+
# Diagnostic reports (https://nodejs.org/api/report.html)
60+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
61+
62+
# Runtime data
63+
pids
64+
*.pid
65+
*.seed
66+
*.pid.lock
67+
68+
# Directory for instrumented libs generated by jscoverage/JSCover
69+
lib-cov
70+
71+
# Coverage directory used by tools like istanbul
72+
coverage
73+
*.lcov
74+
75+
# nyc test coverage
76+
.nyc_output
77+
78+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
79+
.grunt
80+
81+
# Bower dependency directory (https://bower.io/)
82+
bower_components
83+
84+
# node-waf configuration
85+
.lock-wscript
86+
87+
# Compiled binary addons (https://nodejs.org/api/addons.html)
88+
build/Release
89+
90+
# Dependency directories
91+
node_modules/
92+
jspm_packages/
93+
94+
# Snowpack dependency directory (https://snowpack.dev/)
95+
web_modules/
96+
97+
# TypeScript cache
98+
*.tsbuildinfo
99+
100+
# Optional npm cache directory
101+
.npm
102+
103+
# Optional eslint cache
104+
.eslintcache
105+
106+
# Microbundle cache
107+
.rpt2_cache/
108+
.rts2_cache_cjs/
109+
.rts2_cache_es/
110+
.rts2_cache_umd/
111+
112+
# Optional REPL history
113+
.node_repl_history
114+
115+
# Output of 'npm pack'
116+
*.tgz
117+
118+
# Yarn Integrity file
119+
.yarn-integrity
120+
121+
# dotenv environment variables file
122+
.env
123+
.env.test
124+
.env.production
125+
126+
# parcel-bundler cache (https://parceljs.org/)
127+
.cache
128+
.parcel-cache
129+
130+
# Next.js build output
131+
.next
132+
out
133+
134+
# Nuxt.js build / generate output
135+
.nuxt
136+
dist
137+
138+
# Gatsby files
139+
.cache/
140+
# Comment in the public line in if your project uses Gatsby and not Next.js
141+
# https://nextjs.org/blog/next-9-1#public-directory-support
142+
# public
143+
144+
# vuepress build output
145+
.vuepress/dist
146+
147+
# Serverless directories
148+
.serverless/
149+
150+
# FuseBox cache
151+
.fusebox/
152+
153+
# DynamoDB Local files
154+
.dynamodb/
155+
156+
# TernJS port file
157+
.tern-port
158+
159+
# Stores VSCode versions used for testing VSCode extensions
160+
.vscode-test
161+
162+
# yarn v2
163+
.yarn/cache
164+
.yarn/unplugged
165+
.yarn/build-state.yml
166+
.yarn/install-state.gz
167+
.pnp.*
168+
169+
### Node Patch ###
170+
# Serverless Webpack directories
171+
.webpack/
172+
173+
# Optional stylelint cache
174+
.stylelintcache
175+
176+
# SvelteKit build / generate output
177+
.svelte-kit
178+
179+
### SublimeText ###
180+
# Cache files for Sublime Text
181+
*.tmlanguage.cache
182+
*.tmPreferences.cache
183+
*.stTheme.cache
184+
185+
# Workspace files are user-specific
186+
*.sublime-workspace
187+
188+
# Project files should be checked into the repository, unless a significant
189+
# proportion of contributors will probably not be using Sublime Text
190+
# *.sublime-project
191+
192+
# SFTP configuration file
193+
sftp-config.json
194+
sftp-config-alt*.json
195+
196+
# Package control specific files
197+
Package Control.last-run
198+
Package Control.ca-list
199+
Package Control.ca-bundle
200+
Package Control.system-ca-bundle
201+
Package Control.cache/
202+
Package Control.ca-certs/
203+
Package Control.merged-ca-bundle
204+
Package Control.user-ca-bundle
205+
oscrypto-ca-bundle.crt
206+
bh_unicode_properties.cache
207+
208+
# Sublime-github package stores a github token in this file
209+
# https://packagecontrol.io/packages/sublime-github
210+
GitHub.sublime-settings
211+
212+
### VisualStudioCode ###
213+
.vscode/*
214+
!.vscode/settings.json
215+
!.vscode/tasks.json
216+
!.vscode/launch.json
217+
!.vscode/extensions.json
218+
*.code-workspace
219+
220+
# Local History for Visual Studio Code
221+
.history/
222+
223+
### VisualStudioCode Patch ###
224+
# Ignore all local history of files
225+
.history
226+
.ionide
227+
228+
# Support for Project snippet scope
229+
!.vscode/*.code-snippets
230+
231+
### Vue ###
232+
# gitignore template for Vue.js projects
233+
#
234+
# Recommended template: Node.gitignore
235+
236+
# TODO: where does this rule come from?
237+
docs/_book
238+
239+
# TODO: where does this rule come from?
240+
test/
241+
242+
### Windows ###
243+
# Windows thumbnail cache files
244+
Thumbs.db
245+
Thumbs.db:encryptable
246+
ehthumbs.db
247+
ehthumbs_vista.db
248+
249+
# Dump file
250+
*.stackdump
251+
252+
# Folder config file
253+
[Dd]esktop.ini
254+
255+
# Recycle Bin used on file shares
256+
$RECYCLE.BIN/
257+
258+
# Windows Installer files
259+
*.cab
260+
*.msi
261+
*.msix
262+
*.msm
263+
*.msp
264+
265+
# Windows shortcuts
266+
*.lnk
267+
268+
# End of https://www.toptal.com/developers/gitignore/api/node,visualstudiocode,sublimetext,macos,linux,windows,vue
269+
270+
# local env files
271+
.env.local
272+
.env.*.local
273+
274+
# other
275+
.build
276+
277+
ARTICLE.md

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/*.sh
2+
**/*.svg
3+
/dist/**
4+
/node_modules/**
5+
/public/*
6+
/tests/unit/coverage/**

.prettierrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
arrowParens: 'always',
3+
bracketSpacing: true,
4+
endOfLine: 'lf',
5+
htmlWhitespaceSensitivity: 'strict',
6+
jsxBracketSameLine: false,
7+
jsxSingleQuote: true,
8+
printWidth: 100,
9+
proseWrap: 'never',
10+
quoteProps: 'as-needed',
11+
semi: false,
12+
singleQuote: true,
13+
tabWidth: 2,
14+
trailingComma: 'es5',
15+
useTabs: false,
16+
vueIndentScriptAndStyle: false,
17+
}

0 commit comments

Comments
 (0)