Skip to content

Commit 8b2dc92

Browse files
committed
first commit
0 parents  commit 8b2dc92

File tree

324 files changed

+8307
-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.

324 files changed

+8307
-0
lines changed

.eslintrc.js

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
module.exports = {
2+
extends: ['plugin:prettier/recommended'],
3+
plugins: ['prettier', '@typescript-eslint'],
4+
parser: '@typescript-eslint/parser',
5+
parserOptions: {
6+
createDefaultProgram: true,
7+
project: './tsconfig.json',
8+
},
9+
rules: {
10+
'prettier/prettier': 'warn',
11+
'@typescript-eslint/adjacent-overload-signatures': 'error',
12+
'@typescript-eslint/array-type': 'error',
13+
'@typescript-eslint/await-thenable': 'error',
14+
'@typescript-eslint/ban-types': 'off',
15+
'@typescript-eslint/class-name-casing': 'off',
16+
'@typescript-eslint/consistent-type-assertions': 'error',
17+
'@typescript-eslint/consistent-type-definitions': 'error',
18+
'@typescript-eslint/explicit-member-accessibility': [
19+
'off',
20+
{
21+
accessibility: 'explicit',
22+
},
23+
],
24+
'@typescript-eslint/indent': [
25+
'error',
26+
4,
27+
{
28+
FunctionDeclaration: {
29+
parameters: 'first',
30+
},
31+
FunctionExpression: {
32+
parameters: 'first',
33+
},
34+
SwitchCase: 1,
35+
},
36+
],
37+
'@typescript-eslint/interface-name-prefix': 'off',
38+
'@typescript-eslint/member-delimiter-style': 'error',
39+
'@typescript-eslint/member-ordering': 'off',
40+
'@typescript-eslint/no-empty-function': 'off',
41+
'@typescript-eslint/no-empty-interface': 'off',
42+
'@typescript-eslint/no-explicit-any': 'off',
43+
'@typescript-eslint/no-floating-promises': 'off',
44+
'@typescript-eslint/no-inferrable-types': 'off',
45+
'@typescript-eslint/no-misused-new': 'off',
46+
'@typescript-eslint/no-namespace': 'off',
47+
'@typescript-eslint/no-parameter-properties': 'off',
48+
'@typescript-eslint/no-require-imports': 'off',
49+
'@typescript-eslint/no-unnecessary-qualifier': 'error',
50+
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
51+
'@typescript-eslint/no-use-before-declare': 'off',
52+
'@typescript-eslint/no-var-requires': 'off',
53+
'@typescript-eslint/prefer-for-of': 'off',
54+
'@typescript-eslint/prefer-function-type': 'error',
55+
'@typescript-eslint/prefer-namespace-keyword': 'error',
56+
'@typescript-eslint/quotes': [
57+
'error',
58+
'single',
59+
{
60+
avoidEscape: true,
61+
},
62+
],
63+
'@typescript-eslint/semi': ['error'],
64+
'@typescript-eslint/space-within-parens': ['off', 'never'],
65+
'@typescript-eslint/triple-slash-reference': 'off',
66+
'@typescript-eslint/type-annotation-spacing': 'error',
67+
'@typescript-eslint/unified-signatures': 'error',
68+
'arrow-body-style': 'error',
69+
'arrow-parens': ['off', 'as-needed'],
70+
camelcase: 'off',
71+
'capitalized-comments': 'off',
72+
complexity: 'off',
73+
'constructor-super': 'error',
74+
curly: ['error', 'multi-line'],
75+
'dot-notation': 'off',
76+
'eol-last': 'error',
77+
eqeqeq: ['error', 'smart'],
78+
'guard-for-in': 'off',
79+
'id-blacklist': ['error', 'any', 'string', 'boolean', 'Undefined'],
80+
'id-match': 'error',
81+
'sort-imports': [
82+
'error',
83+
{
84+
ignoreCase: false,
85+
ignoreDeclarationSort: true,
86+
ignoreMemberSort: false,
87+
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
88+
},
89+
],
90+
'linebreak-style': 'off',
91+
'max-classes-per-file': 'off',
92+
'max-len': [
93+
'off',
94+
{
95+
ignorePattern: '^import |^export {(.*?)}',
96+
code: 200,
97+
},
98+
],
99+
'new-parens': 'off',
100+
'newline-per-chained-call': 'off',
101+
'no-bitwise': 'off',
102+
'no-caller': 'error',
103+
'no-cond-assign': 'off',
104+
'no-console': [
105+
'off',
106+
{
107+
allow: [
108+
'log',
109+
'warn',
110+
'dir',
111+
'timeLog',
112+
'assert',
113+
'clear',
114+
'count',
115+
'countReset',
116+
'group',
117+
'groupEnd',
118+
'table',
119+
'debug',
120+
'dirxml',
121+
'error',
122+
'groupCollapsed',
123+
'Console',
124+
'profile',
125+
'profileEnd',
126+
'timeStamp',
127+
'context',
128+
],
129+
},
130+
],
131+
'no-constant-condition': 'error',
132+
'no-control-regex': 'off',
133+
'no-debugger': 'error',
134+
'no-duplicate-imports': 'error',
135+
'no-empty': 'off',
136+
'no-eval': 'off',
137+
'no-extra-semi': 'off',
138+
'no-fallthrough': 'error',
139+
'no-invalid-regexp': 'error',
140+
'no-invalid-this': 'off',
141+
'no-irregular-whitespace': 'off',
142+
'no-multiple-empty-lines': 'off',
143+
'no-new-wrappers': 'error',
144+
'no-redeclare': ['error', { builtinGlobals: false }],
145+
'no-regex-spaces': 'error',
146+
'no-return-await': 'error',
147+
'no-shadow': [
148+
'off',
149+
{
150+
hoist: 'all',
151+
},
152+
],
153+
'no-throw-literal': 'error',
154+
'no-trailing-spaces': 'error',
155+
'no-undef-init': 'error',
156+
'no-underscore-dangle': 'off',
157+
'no-unsafe-finally': 'error',
158+
'no-unused-expressions': [
159+
'error',
160+
{
161+
allowTaggedTemplates: true,
162+
allowShortCircuit: true,
163+
},
164+
],
165+
'no-unused-labels': 'error',
166+
'no-var': 'error',
167+
'object-shorthand': 'error',
168+
'one-var': ['off', 'never'],
169+
'prefer-arrow/prefer-arrow-functions': 'off',
170+
'prefer-const': 'error',
171+
'quote-props': 'off',
172+
radix: 'error',
173+
'space-before-function-paren': 'off',
174+
'use-isnan': 'error',
175+
'valid-typeof': 'off',
176+
},
177+
};

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [farfromrefug]

.github/issue_template.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
### Make sure to check the demo app(s) for sample usage
2+
3+
### Make sure to check the existing issues in this repository
4+
5+
### If the demo apps cannot help and there is no issue for your problem, tell us about it
6+
Please, ensure your title is less than 63 characters long and starts with a capital
7+
letter.
8+
9+
### Which platform(s) does your issue occur on?
10+
- iOS/Android/Both
11+
- iOS/Android versions
12+
- emulator or device. What type of device?
13+
14+
### Please, provide the following version numbers that your issue occurs with:
15+
16+
- CLI: (run `tns --version` to fetch it)
17+
- Cross-platform modules: (check the 'version' attribute in the
18+
`node_modules/@nativescript/core/package.json` file in your project)
19+
- Runtime(s): (look for the `"tns-android"` and `"tns-ios"` properties in the `package.json` file of your project)
20+
- Plugin(s): (look for the version numbers in the `package.json` file of your
21+
project and paste your dependencies and devDependencies here)
22+
23+
### Please, tell us how to recreate the issue in as much detail as possible.
24+
Describe the steps to reproduce it.
25+
26+
### Is there any code involved?
27+
- provide a code example to recreate the problem
28+
- (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.

.gitignore

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Windows image file caches
2+
Thumbs.db
3+
ehthumbs.db
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# Recycle Bin used on file shares
9+
$RECYCLE.BIN/
10+
11+
# Windows Installer files
12+
*.cab
13+
*.msi
14+
*.msm
15+
*.msp
16+
17+
# Windows shortcuts
18+
*.lnk
19+
20+
# =========================
21+
# Operating System Files
22+
# =========================
23+
24+
# OSX
25+
# =========================
26+
27+
.DS_Store
28+
.AppleDouble
29+
.LSOverride
30+
.idea
31+
32+
# Thumbnails
33+
._*
34+
35+
# Files that might appear on external disk
36+
.Spotlight-V100
37+
.Trashes
38+
39+
# Directories potentially created on remote AFP share
40+
.AppleDB
41+
.AppleDesktop
42+
Network Trash Folder
43+
Temporary Items
44+
.apdisk
45+
46+
bin
47+
obj
48+
build/
49+
.vs
50+
.tscache
51+
*.user
52+
!demo-vue/app/app.js
53+
*.map
54+
!gruntfile.js
55+
node_modules
56+
*.tmp.*
57+
demo*/platforms
58+
lib
59+
!webpack.*.js
60+
!build.esm.js
61+
report
62+
*.log
63+
64+
*.framework
65+
*.aar
66+
67+
Pods
68+
*.lock
69+
*.xcworkspace
70+
plugin/**/*.d.ts
71+
/plugin/README.md
72+
package-lock.json
73+
/.vscode
74+
/pnpm-lock.yaml
75+
76+
.update_backup
77+
.migration_backup
78+
plugin/**/*js.map
79+
plugin/**/*js
80+
pnpm-lock.yaml

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 200,
3+
"semi": true,
4+
"tabWidth": 4,
5+
"singleQuote": true
6+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(6.3))
5+
connection.project.dir=
6+
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=true
12+
show.console.view=true
13+
show.executions.view=true

0 commit comments

Comments
 (0)