Skip to content

Commit fe52f7c

Browse files
Dataportal Geo Developmentwarm-coolguy
Dataportal Geo Development
authored andcommitted
Initial commit
This software has been written by the Dataport Geo Development Team. Public Money. Public Code. Public Value.
0 parents  commit fe52f7c

File tree

448 files changed

+183990
-0
lines changed

Some content is hidden

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

448 files changed

+183990
-0
lines changed

.eslintignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**/build
2+
**/.cache
3+
**/coverage
4+
**/dist
5+
**/dist-test
6+
**/docs
7+
**/node_modules
8+
**/tests_output
9+
*.d.ts

.eslintrc.json

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/eslint-recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:vue/recommended",
8+
"standard",
9+
"plugin:prettier/recommended"
10+
],
11+
"parser": "vue-eslint-parser",
12+
"parserOptions": {
13+
"parser": "@typescript-eslint/parser",
14+
"ecmaVersion": 2021,
15+
"sourceType": "module",
16+
"extraFileExtensions": [".vue"]
17+
},
18+
"plugins": ["import"],
19+
"rules": {
20+
"no-console": ["error", { "allow": ["warn", "error"] }],
21+
"no-debugger": "error",
22+
"object-curly-spacing": "error",
23+
"array-bracket-spacing": "error",
24+
"no-multi-spaces": "error",
25+
"vue/multi-word-component-names": "warn",
26+
"import/order": "error",
27+
"curly": "error",
28+
"brace-style": "error",
29+
"no-else-return": "error",
30+
"no-lonely-if": "error",
31+
"require-await": "error",
32+
"no-extra-parens": "error",
33+
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
34+
"eol-last": "error",
35+
"no-eval": "error",
36+
"no-implied-eval": "error",
37+
"complexity": "warn",
38+
"max-depth": "warn",
39+
"max-lines": "warn",
40+
"max-lines-per-function": "warn"
41+
},
42+
"ignorePatterns": ["**/node_modules/**/*", "**/dist/**/*"],
43+
"settings": {
44+
"import/parsers": {
45+
"@typescript-eslint/parser": [".ts", ".tsx"]
46+
},
47+
"import/resolver": {
48+
"typescript": {
49+
"alwaysTryTypes": true
50+
}
51+
}
52+
},
53+
"overrides": [
54+
{
55+
"files": ["**/__tests__/*.{j,t}s?(x)", "**/tests/**/*.spec.{j,t}s?(x)"],
56+
"env": {
57+
"jest": true
58+
},
59+
"plugins": ["jest"],
60+
"rules": {
61+
"max-lines-per-function": "off"
62+
}
63+
},
64+
{
65+
"files": ["packages/**/*.js", "packages/**/*.vue"],
66+
"env": {
67+
"browser": true
68+
}
69+
},
70+
{
71+
"files": ["packages/**/*.ts"],
72+
"env": {
73+
"browser": true
74+
},
75+
"parserOptions": {
76+
"parser": "@typescript-eslint/parser",
77+
"ecmaVersion": 2021,
78+
"sourceType": "module",
79+
"project": "./tsconfig.json"
80+
},
81+
"plugins": ["eslint-plugin-tsdoc"],
82+
"rules": {
83+
"tsdoc/syntax": "warn",
84+
"no-use-before-define": "off",
85+
"@typescript-eslint/promise-function-async": "off",
86+
"@typescript-eslint/naming-convention": [
87+
"error",
88+
{
89+
"selector": ["typeLike"],
90+
"format": ["PascalCase"]
91+
},
92+
{
93+
"selector": ["memberLike"],
94+
"format": ["camelCase", "UPPER_CASE", "snake_case"]
95+
}
96+
],
97+
"@typescript-eslint/consistent-type-definitions": ["error", "interface"]
98+
}
99+
}
100+
]
101+
}

.gitattributes

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto eol=lf
3+
4+
*.js text eol=lf
5+
*.ts text eol=lf
6+
*.tsx text eol=lf
7+
*.vue text eol=lf
8+
*.html text eol=lf
9+
*.css text eol=lf
10+
*.json text eol=lf
11+
*.md text eol=lf
12+
13+
*.drawio binary
14+
*.png binary
15+
*.jpg binary
16+
*.jpeg binary
17+
*.pdf binary

.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
**/.eslintcache
2+
**/*.tgz
3+
**/.cache
4+
**/coverage
5+
**/dist
6+
**/dist-test
7+
**/docs
8+
**/node_modules
9+
/public
10+
**/tests_output
11+
/*.log
12+
logs/*.log
13+
logs
14+
/.idea/
15+
**/.parcel-cache

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint:pre-commit

.husky/pre-push

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run test

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
legacy-peer-deps=true
2+
registry=https://registry.npmjs.org

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build
2+
dist

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": false,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"printWidth": 80,
6+
"tabWidth": 2
7+
}

.vscode/settings.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"editor.tabSize": 2,
3+
"editor.formatOnSave": true,
4+
"editor.detectIndentation": false,
5+
"editor.defaultFormatter": "esbenp.prettier-vscode",
6+
"eslint.validate": [
7+
"javascript",
8+
"javascriptreact",
9+
"typescript",
10+
"typescriptreact"
11+
],
12+
"cSpell.words": ["snowbox"],
13+
"[javascript]": {
14+
"editor.defaultFormatter": "esbenp.prettier-vscode"
15+
},
16+
"vetur.experimental.templateInterpolationService": true
17+
}

0 commit comments

Comments
 (0)