Skip to content

Commit aab7892

Browse files
feat: initial
1 parent 3ddcee2 commit aab7892

Some content is hidden

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

80 files changed

+12183
-0
lines changed

.commitlintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"extends": ["@commitlint/config-conventional"]}

.editorconfig

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

.eslintignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules/
2+
example/
3+
examples/
4+
fixture/
5+
fixtures/
6+
dist/
7+
example-*/
8+
example/
9+
hotDevClient.js

.eslintrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const fs = require('fs');
2+
3+
const prettierOptions = JSON.parse(fs.readFileSync('./.prettierrc', 'utf8'));
4+
5+
module.exports = {
6+
"extends": ["standard", "prettier"],
7+
"env": {
8+
"jest": true
9+
},
10+
"plugins": ["prettier"],
11+
"rules": {
12+
"prettier/prettier": ['error', prettierOptions],
13+
}
14+
}

.gitattributes

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# From https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
2+
3+
# Handle line endings automatically for files detected as text
4+
# and leave all files detected as binary untouched.
5+
* text=auto
6+
7+
#
8+
# The above will handle all files NOT found below
9+
#
10+
11+
#
12+
## These files are text and should be normalized (Convert crlf => lf)
13+
#
14+
15+
# source code
16+
*.php text
17+
*.css text
18+
*.sass text
19+
*.scss text
20+
*.less text
21+
*.styl text
22+
*.js text eol=lf
23+
*.coffee text
24+
*.json text
25+
*.htm text
26+
*.html text
27+
*.xml text
28+
*.svg text
29+
*.txt text
30+
*.ini text
31+
*.inc text
32+
*.pl text
33+
*.rb text
34+
*.py text
35+
*.scm text
36+
*.sql text
37+
*.sh text
38+
*.bat text
39+
40+
# templates
41+
*.ejs text
42+
*.hbt text
43+
*.jade text
44+
*.haml text
45+
*.hbs text
46+
*.dot text
47+
*.tmpl text
48+
*.phtml text
49+
50+
# server config
51+
.htaccess text
52+
.nginx.conf text
53+
54+
# git config
55+
.gitattributes text
56+
.gitignore text
57+
.gitconfig text
58+
59+
# code analysis config
60+
.jshintrc text
61+
.jscsrc text
62+
.jshintignore text
63+
.csslintrc text
64+
65+
# misc config
66+
*.yaml text
67+
*.yml text
68+
.editorconfig text
69+
70+
# build config
71+
*.npmignore text
72+
*.bowerrc text
73+
74+
# Heroku
75+
Procfile text
76+
.slugignore text
77+
78+
# Documentation
79+
*.md text
80+
LICENSE text
81+
AUTHORS text
82+
83+
84+
#
85+
## These files are binary and should be left untouched
86+
#
87+
88+
# (binary is a macro for -text -diff)
89+
*.png binary
90+
*.jpg binary
91+
*.jpeg binary
92+
*.gif binary
93+
*.ico binary
94+
*.mov binary
95+
*.mp4 binary
96+
*.mp3 binary
97+
*.flv binary
98+
*.fla binary
99+
*.swf binary
100+
*.gz binary
101+
*.zip binary
102+
*.7z binary
103+
*.ttf binary
104+
*.eot binary
105+
*.woff binary
106+
*.pyc binary
107+
*.pdf binary

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
coverage
2+
build
3+
node_modules
4+
stats.json
5+
dist
6+
output_test
7+
output_test
8+
examples/*/yarn.lock
9+
examples/*/package-lock.json
10+
packages/*/yarn.lock
11+
packages/*/package-lock.json
12+
.DS_Store
13+
npm-debug.log
14+
*.log
15+
*.log.*
16+
.idea

.huskyrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "npm run lint",
4+
"commit-msg": "commitlint -e $GIT_PARAMS"
5+
}
6+
}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/carbon

.prettierignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
build/
3+
node_modules/
4+
internals/generators/
5+
internals/scripts/
6+
package-lock.json
7+
yarn.lock
8+
package.json

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 120,
3+
"tabWidth": 4,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "all"
8+
}

0 commit comments

Comments
 (0)