Skip to content

Commit d047ede

Browse files
committed
init commit
1 parent ba3ffd4 commit d047ede

File tree

194 files changed

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

194 files changed

+12651
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
quote_type = single
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 忽略目录
2+
node_modules
3+
test-cases
4+
test
5+
output
6+
build
7+
dist
8+
demo
9+
es
10+
lib
11+
tests
12+
.*
13+
~*
14+
15+
# 忽略文件
16+
**/*.min.js
17+
**/*-min.js
18+
**/*.bundle.js

.eslintrc.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
module.exports = {
2+
extends: 'eslint-config-ali/typescript/react',
3+
rules: {
4+
'react/no-multi-comp': 0,
5+
'no-unused-expressions': 0,
6+
'implicit-arrow-linebreak': 1,
7+
'no-nested-ternary': 1,
8+
'no-mixed-operators': 1,
9+
'@typescript-eslint/ban-types': 1,
10+
'no-shadow': 1,
11+
'no-prototype-builtins': 1,
12+
'no-useless-constructor': 1,
13+
'no-empty-function': 1,
14+
'@typescript-eslint/member-ordering': 0,
15+
'lines-between-class-members': 0,
16+
'no-await-in-loop': 0,
17+
'no-plusplus': 0,
18+
'@typescript-eslint/no-parameter-properties': 0,
19+
'@typescript-eslint/no-unused-vars': 1,
20+
'no-multi-assign': 1,
21+
'no-dupe-class-members': 1,
22+
'react/no-deprecated': 1,
23+
'no-useless-escape': 1,
24+
'brace-style': 1,
25+
'@typescript-eslint/no-inferrable-types': 0,
26+
'no-proto': 0,
27+
'prefer-const': 0,
28+
'eol-last': 0,
29+
'react/no-find-dom-node': 0,
30+
'no-case-declarations': 0,
31+
'@typescript-eslint/indent': 0,
32+
'import/no-cycle': 0,
33+
'@typescript-eslint/no-shadow': 0,
34+
'max-len': ["error", {"code": 180}]
35+
}
36+
};

.gitignore

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# project custom
2+
build
3+
dist
4+
packages/*/lib/
5+
packages/*/es/
6+
packages/*/dist/
7+
packages/*/output/
8+
packages/demo/
9+
package-lock.json
10+
yarn.lock
11+
deploy-space/packages
12+
deploy-space/.env
13+
14+
15+
# IDE
16+
.vscode
17+
.idea
18+
19+
# Logs
20+
logs
21+
*.log
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
lerna-debug.log*
26+
27+
# Runtime data
28+
pids
29+
*.pid
30+
*.seed
31+
*.pid.lock
32+
33+
34+
# Directory for instrumented libs generated by jscoverage/JSCover
35+
lib-cov
36+
37+
# Coverage directory used by tools like istanbul
38+
coverage
39+
40+
# nyc test coverage
41+
.nyc_output
42+
43+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
44+
.grunt
45+
46+
# Bower dependency directory (https://bower.io/)
47+
bower_components
48+
49+
# node-waf configuration
50+
.lock-wscript
51+
52+
# Compiled binary addons (https://nodejs.org/api/addons.html)
53+
build/Release
54+
lib
55+
56+
# Dependency directories
57+
node_modules/
58+
jspm_packages/
59+
60+
# TypeScript v1 declaration files
61+
typings/
62+
63+
# Optional npm cache directory
64+
.npm
65+
66+
# Optional eslint cache
67+
.eslintcache
68+
69+
# Optional REPL history
70+
.node_repl_history
71+
72+
# Output of 'npm pack'
73+
*.tgz
74+
75+
# Yarn Integrity file
76+
.yarn-integrity
77+
78+
# dotenv environment variables file
79+
.env
80+
.env.test
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
85+
# next.js build output
86+
.next
87+
88+
# nuxt.js build output
89+
.nuxt
90+
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
102+
103+
# mac config files
104+
.DS_Store
105+
106+
# codealike
107+
codealike.json
108+
.node

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
printWidth: 100,
3+
tabWidth: 2,
4+
semi: true,
5+
singleQuote: true,
6+
trailingComma: 'all',
7+
};

.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true
6+
}

.stylelintignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 忽略目录
2+
node_modules/
3+
build/
4+
dist/
5+
6+
# 忽略文件
7+
**/*.min.css
8+
**/*-min.css
9+
**/*.bundle.css

.stylelintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
extends: 'stylelint-config-ali',
3+
rules: {
4+
"selector-max-id": 2
5+
}
6+
};

0 commit comments

Comments
 (0)