Skip to content

Commit 0956b3f

Browse files
committed
package: init undo v1.0.0
0 parents  commit 0956b3f

18 files changed

+20093
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.eslintrc.json

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": [
5+
"@typescript-eslint"
6+
],
7+
"env": {
8+
"node": true
9+
},
10+
"extends": [
11+
"eslint:recommended",
12+
"plugin:@typescript-eslint/recommended"
13+
],
14+
"rules": {
15+
"@typescript-eslint/array-type": [
16+
"error",
17+
{
18+
"default": "array-simple"
19+
}
20+
],
21+
"@typescript-eslint/consistent-type-imports": "error",
22+
"@typescript-eslint/no-unused-vars": [
23+
"error",
24+
{
25+
"argsIgnorePattern": "_"
26+
}
27+
],
28+
"no-undef": "off",
29+
"no-redeclare": "off",
30+
"padded-blocks": "off",
31+
"no-unused-vars": "off",
32+
"no-dupe-class-members": "off",
33+
"newline-before-return": "error",
34+
"indent": [
35+
"error",
36+
4,
37+
{
38+
"SwitchCase": 1
39+
}
40+
],
41+
"max-len": [
42+
"error",
43+
{
44+
"code": 180
45+
}
46+
],
47+
"quotes": [
48+
"error",
49+
"single"
50+
],
51+
"semi": [
52+
"error",
53+
"always"
54+
],
55+
"require-jsdoc": [
56+
"warn",
57+
{
58+
"require": {
59+
"MethodDefinition": false,
60+
"ClassDeclaration": false,
61+
"FunctionExpression": false,
62+
"FunctionDeclaration": false,
63+
"ArrowFunctionExpression": false
64+
}
65+
}
66+
],
67+
"linebreak-style": [
68+
"error",
69+
"windows"
70+
],
71+
"array-bracket-spacing": [
72+
"error",
73+
"always",
74+
{
75+
"objectsInArrays": false,
76+
"arraysInArrays": false
77+
}
78+
],
79+
"object-curly-spacing": [
80+
2,
81+
"always"
82+
],
83+
"@typescript-eslint/no-explicit-any": "off",
84+
"@typescript-eslint/member-ordering": [
85+
"error",
86+
{
87+
"default": [
88+
// Fields
89+
"public-static-field",
90+
"public-decorated-field",
91+
"public-instance-field",
92+
"protected-static-field",
93+
"protected-decorated-field",
94+
"protected-instance-field",
95+
"private-static-field",
96+
"private-decorated-field",
97+
"private-instance-field",
98+
// Constructors
99+
"public-constructor",
100+
"protected-constructor",
101+
"private-constructor",
102+
// Methods
103+
"public-static-method",
104+
"public-decorated-method",
105+
"public-instance-method",
106+
"protected-static-method",
107+
"protected-decorated-method",
108+
"protected-instance-method",
109+
"private-static-method",
110+
"private-decorated-method",
111+
"private-instance-method"
112+
]
113+
}
114+
]
115+
},
116+
"overrides": [
117+
{
118+
"files": "*.json",
119+
"parser": "jsonc-eslint-parser",
120+
"rules": {}
121+
}
122+
],
123+
"ignorePatterns": [
124+
"**/*.js",
125+
"docs/*",
126+
"src/specs/*",
127+
"src/assets/*"
128+
]
129+
}

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
coverage
40+
41+
# System files
42+
.DS_Store
43+
Thumbs.db

0 commit comments

Comments
 (0)